Early Access: The content on this website is provided for informational purposes only in connection with pre-General Availability Qlik Products.
All content is subject to change and is provided without warranty.
Skip to main content Skip to complementary content

Creating task chains for data refreshes

In the context of analytics data refreshes, a task chain is a set of tasks configured with event-based schedules that depend on one another. You can create task chains that refresh apps, scripts, and data flows in a specific order. For example, you could run three data flows, one after the other, and after these events, reload an app to collect and analyze the data from these data flows.

Starting a task chain

To start a task chain, you need to create a dependency between the current task and an existing task.

  1. Create a task (for an app, script, or data flow) that refreshes data on a time-based schedule.

    Creating a task

  2. Create another task. When configuring the task, under Based on, select one of the following:

    • Another task succeeded

    • Another task failed

  3. Select the Space, Content, and Task that you want to link to your current task.

  4. Click Save.

In this way, you can chain together many different tasks.

To create a task chain, create a task with an event-based schedule.

Task creation dialog with dropdown in use, to select an event-based trigger under 'Based on' property

Example

For example, you could configure the following chain:

  1. Task 1 reloads an app at a specific time.

  2. When task 1 completes, task 2 runs a script to export QVD data.

  3. When task 2 runs successfully, task 3 runs a data flow to export additional QVD data.

  4. When task 3 runs successfully, task 4 reloads a second app. This app combines the data loaded by each of these assets.

Permissions

A task chain is simply a set of multiple tasks that have dependencies between them. You need to have the required permissions in each resource's space to be able to establish a task chain and run the chain successfully.

To create and manage tasks for analytics data refreshes, you need the following permissions:

  • Professional or Full User entitlement in the Qlik Cloud tenant

  • For an app, script, or data flow in a shared space, you need one of the following space roles in the shared space:

    • Owner (of the space)

    • Can manage

    • Can edit data in apps

    • Can edit

  • For an app, script, or data flow in a managed space, you need one of the following space roles in the managed space:

    • Owner (of the space)

    • Can manage

    • Can operate

You can also create and manage tasks as a tenant or analytics administrator. However, you also need the required space roles in the space (see above) if the resource is in a shared or managed space.

For more information about permissions in shared and managed spaces, see:

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!