This page introduces the core concepts behind
Workflows: what's
Workflows, how you can build a workflow from tasks and reusable actions, how to trigger a workflow execution, and how to track it, and how triggers control the workflow runs. It also explains the concept of a simple workflow, how to monitor using the Execution view, and how to use EdgeConnect to reach non-public services from workflow tasks.
Workflows is your entry point to manage and monitor workflows. The app interacts with the automation service via its REST API. The automation service is responsible for processing your workflows and keeping track of the executions.
A workflow specifies a repeatable process by assembling a series of tasks.
A simple workflow specifies a repeatable process with only one task.
Each step in a workflow is called a task.
Create Incident, Notify Ops in Slack, or Get error log count), including the conditions, retry behavior, timeouts and, most importantly, the input configuration required to achieve the work and provide a result to be used by subsequent tasks.An action is a generic, reusable function configured and triggered by tasks. For example, an action could be Create Jira Issue, while a task would execute the action with a specific configuration to Create Bug in Sample project.
Workflows, tasks, and actions all define how work should be done. An execution represents a specific instance of running through that process.
Workflows or the REST API.To list all executions in your environment, select Executions in the Workflows app header.
Success, Running, Error, or WaitingManual, Schedule, or EventLast 2 hours or a custom timeframe with selectable From and To settingsTo list executions of the workflow you are editing, select Executions in the editor.
EdgeConnect allows you to reach your non-public services in workflow tasks. HTTP requests happening within any type of action or platform function can be proxied via EdgeConnect into the target network.
Any HTTP request (from your custom app, workflow, or an ad-hoc JavaScript code) that matches a defined host pattern is handled by an EdgeConnect instance you specify in the platform configuration. For more information, see Configure and deploy EdgeConnect.
A trigger defines what starts a workflow execution. When creating a workflow, you'll be presented with a selection of trigger types. If in doubt, select the On demand option. The trigger node has a fixed position in the graph. You can't move a trigger in the graph.
There are three main types of triggers
An API call can always trigger a workflow independent of the trigger type.
The On demand trigger is the default trigger. It's a manual trigger to run a workflow. The manual trigger means that, unlike other trigger types, Dynatrace won't trigger a workflow execution. As a user with the proper permissions, you select Run, or the workflow is triggered via API.
To enable or disable an event trigger, use the toggle in the upper-right corner of the trigger. When an event trigger is disabled, it won't run automatically, but you can still run it via the API. The status of a workflow trigger is also visible in the list or cards view of workflows.