Workflow schedule trigger
Latest Dynatrace
During development, you can trigger workflows manually until you reach the desired functionality. When you're ready to automate, you want to run your workflows automatically! Workflows can be triggered either by event triggers, schedules, or API requests.
Running workflows according to a schedule allows you to, for example, perform an hourly data ingest or run weekly audit reports. You can schedule workflows at a fixed time of day, at a specified interval, and with even more advanced scheduling options to meet your needs according to your calendar.
Fixed time
To run a workflow at a specific time of day (for example, every morning at 9:00 AM)
- Create a new workflow or edit an existing one.
- Choose the trigger type Fixed time trigger.
- Set the time of day at which you want to run the workflow.
- optional Configure the time zone for the selected time. The default is your browser's time zone.
- See the next scheduled executions to verify your configuration. The preview will always show it in your browser's time zone, to let you easily grasp time zone configurations different from yours.
- Save your changes.
Your workflow will now run every day at the configured time.
Fixed time schedules allow you to configure the earliest start date for the schedule to take effect. You can also define when it should end (by default, it never ends) by date or the number of runs.
Time interval
To run a workflow at a fixed interval (for example, every 10 minutes)
- Create a new workflow or edit an existing one.
- Select the trigger type Time interval trigger.
- Set Run every (mins) to the interval in minutes you want to run the workflow on.
- See the next scheduled executions to verify your configuration. The preview will always show it in your browser's time zone, to let you easily grasp time zone configurations different from yours.
- Save your changes.
Your workflow will now run every n
minutes, where n
is the number of minutes you entered in Run every (mins).
Time interval schedules allow you to configure:
- A period of the day to which it applies (for example, between 8:00 and 17:00 only).
- An earliest start date and time to indicate when the schedule takes effect. It defaults to the day of definition and the top of the hour. A 5-minute interval will run 5, 10, and 15 minutes past the hour.
- When it ends (by default, it never will) by date or the number of runs.
Cron schedule
For basic scheduling needs, you can schedule workflows with time zone–aware cron expressions. This allows you to adhere to regional time zone specifics (for example, Daylight Saving Time changes).
To create a workflow with a cron schedule trigger
- Create a new workflow.
- Select the trigger type Cron schedule trigger. By default, a cron expression in your browser locale's time zone is added.
- Enter the cron expression to define the schedule.
- See the next scheduled executions to verify your configuration. The preview will always show it in your browser's time zone, to let you easily grasp time zone configurations different from yours.
- Save your changes.
The schedule is active and triggers the workflow according to the cron expression.