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)

  1. Create a new workflow or edit an existing one.
  2. Choose the trigger type Fixed time trigger.
  3. Set the time of day at which you want to run the workflow.
  4. optional Configure the time zone for the selected time. The default is your browser's time zone.
  5. 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.
  6. 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)

  1. Create a new workflow or edit an existing one.
  2. Select the trigger type Time interval trigger.
  3. Set Run every (mins) to the interval in minutes you want to run the workflow on.
  4. 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.
  5. 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

  1. Create a new workflow.
  2. Select the trigger type Cron schedule trigger. By default, a cron expression in your browser locale's time zone is added.
  3. Enter the cron expression to define the schedule.
  4. 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.
  5. Save your changes.

The schedule is active and triggers the workflow according to the cron expression.