Skip to main content

Triggers

You use triggers to determine when tasks are to be executed. There are two types of triggers:

  • Scheduled triggers
  • Task event triggers

Scheduled triggers

With a scheduled trigger, you can schedule the number of task executions to be performed and the execution frequency. The number of task executions ranges from one to infinity, and the frequency ranges from hourly to monthly. You can apply scheduled triggers to both reload tasks and user sync tasks.

Example:  

You want to create a scheduled trigger for a user sync task. The trigger is to be activated once every month.

Do the following:

  1. Select Tasks on the QMC start page or from the StartS drop-down menu to display the overview.

  2. Select the user sync task that you want to create a trigger for and click Edit.

  3. Under Associated items, select Triggers.

  4. Click Create associated trigger.

    The Trigger - Start on schedule window is opened.

  5. Fill in the trigger name and the start time and date.

  6. For Schedule, select Monthly.

  7. Select a date for the trigger and clear any other date selection.

    Note: To ensure that a trigger is repeated every month, you should not select a date later than the 28th.
  8. If needed, set the end date and time. By default, there is no end date.

Task event triggers

With a task event trigger you set one or more conditions for when the trigger is activated. To create a condition, you select a task and the status of that task, either task successful or task failed. If that condition is met, as well as any other additional conditions, the trigger activates a reload of the app. Task event triggers can only be applied to reload tasks.

Example:  

You have two apps that are closely related, and to make sure that the apps are in sync, the second app is only to reload if the first app has the status task successful.

Do the following:

  1. Select Tasks on the QMC start page or from the StartS drop-down menu to display the overview.

  2. Select the reload task that you want to create a trigger for and click Edit.

  3. In the Triggers heading bar, click Actions.

    A popup is displayed with different trigger options.

  4. Select Create new task event trigger.

    The Trigger - Start on task event window is opened.

  5. Fill in the trigger name and the time constraint.

  6. Click Add task.

  7. Click the Task field and select the task that the trigger is dependent on.

  8. Select the status for the task, in this case Task successful.

    The trigger will only be activated if the task has the status Task successful.

  9. Click OK.

    The new trigger is added to the triggers list.

  10. Click Apply.

Tip: You can also trigger a reload task or sync task manually from the tasks overview page.