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
- On demand: you can start anytime by manually selecting Run or making an API call.
- Event: you can configure which events to match in the ingest pipeline to trigger a workflow. For more information, see Event triggers for workflows.
- Schedule: you can set up a schedule to trigger a workflow. The workflow runs according to a schedule at fixed times or intervals. For more information, see Workflow schedule trigger.
An API call can always trigger a workflow independent of the trigger type.
On demand trigger
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.