Skip to main content Skip to complementary content

Creating a task chain

You can chain your tasks in just any pattern. This example describes how to create a task chain that reloads the data in three different apps:

  • Task 1 reloads app A, every hour.
  • Task 2 reloads app B, daily.
  • Task 3 reloads app C, if Task 1 and Task 2 is executed within 120 minutes.

Do the following:

  1. Create a new reload task for app A:

    1. Select Tasks on the QMC start page or from the StartS drop-down menu to display the overview.
    2. Click PCreate new in the action bar.

      The Reload task edit page is displayed.

    3. Type Task 1 in the Name field.

    4. Click Select app in the App name field. In the dialog that opens double-click app A.

      The dialog closes and the App name field displays app A.

    5. Leave the Execution properties as is.
    6. Click ActionsS in the Triggers table heading and select Create new hourly trigger.

      The trigger is added to the Triggers table and the start value for the trigger is set to 5 minutes from when it was created.

    7. Click Apply.

    Successfully added is displayed.

  2. The next step is to create the reload task for app B:

    1. Click êTasks in the selections panel to the left.

      The Tasks overview is displayed.

    2. Click PCreate new in the action bar.

      The Reload task edit page is displayed.

    3. Type Task 2 in the Name field.

    4. Click Select app in the App name field. In the dialog that opens double-click app B.

      The dialog closes and the App name field displays app B.

    5. Leave the Execution properties as is.
    6. Click ActionsS in the Triggers table heading and select Create new daily trigger.

      The trigger is added to the Triggers table.

    7. Double-click the trigger, set Time to start to 12:00 and click OK.

      The dialog closes.

    8. Click Apply.

    Successfully added is displayed.

  3. The next step is to create the reload task for app C:

    1. Click êTasks in the selections panel to the left.

      The Tasks overview is displayed.

    2. Click PCreate new in the action bar.

      The Reload task edit page is displayed.

    3. Type Task 3 in the Name field.

    4. Click Select app in the App name field. In the dialog that opens double-click app C.

      The dialog closes and the App name field displays app C.

    5. Leave the Execution properties as is.
    6. Click ActionsS in the Triggers table heading and select Create new task event trigger.

      The dialog Trigger - Start on other task opens.

    7. In the Trigger name field type, for example, My trigger.
    8. The trigger is Enabled by default.
    9. Set the Time constraint to 120 minutes.
    10. Click Add task; click the empty field that appears and then double-click Task 1 in the dialog that opens and keep Task successful in the drop-down.
    11. Click Add task; click the empty field that appears and then double-click Task 2 in the dialog that opens and keep Task successful in the drop-down.
    12. Click OK.

      The trigger dialog is closed.

    13. Click Apply.

    Successfully added is displayed.

You now have created a task chain and the task is added to the task overview where you can click é to view the task chain.

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!