Skip to main content Skip to complementary 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.

  1. Open the QMC: https://<QPS server name>/qmc

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

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

  4. Under Associated items, select Triggers.

  5. Click Create associated trigger.

    The Trigger - Start on schedule window is opened.

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

  7. For Schedule, select Monthly.

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

    Information noteTo ensure that a trigger is repeated every month, you should not select a date later than the 28th.
  9. 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.

  1. Open the QMC: https://<QPS server name>/qmc

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

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

  4. In the Triggers heading bar, click Actions.

    A popup is displayed with different trigger options.

  5. Select Create new task event trigger.

    The Trigger - Start on task event window is opened.

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

  7. Click Add task.

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

  9. 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.

  10. Click OK.

    The new trigger is added to the triggers list.

  11. Click Apply.

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

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!