Tasks
Tasks are used to perform a wide variety of operations and can be chained together in just any pattern. The tasks are handled by the Qlik Sense Scheduler Service (QSS). There are four types of tasks:
- Reload
- User synchronization
- External program
- Distribution
The Tasks overview lists all the available tasks. The following table presents the available fields and buttons. By default, only some of the fields are displayed. You can use the column selector () to add fields.
Field/Button | Description |
---|---|
Name |
The name of the task. Click to display the task chaining summary (only applicable for reload tasks with a task chain trigger applied). |
Associated resource |
The name of the app or the user directory connector that the task is used on. |
Type | Type of task:
|
Enabled |
Status values: Yes or No. |
Status |
The status of the task: Never started: Task has never been started. Triggered: A request has been sent to the scheduler to run the task. Started: Task has started. Queued: Task is queued and will be started when preceding tasks have been processed. Queuing is controlled by the value of Max concurrent reloads, see Editing schedulers. Abort initiated: Manager scheduler has received the abort request but has not started processing it. Aborting: Manager scheduler has started processing the abort request. Aborted: Task has been aborted. Success: Task execution was successful. Failed: Task has been sent to worker scheduler for execution but failed to complete. For example, a reload can fail because of missing Read rights to the data connections or an error in the reload script. Skipped: Start of the task has been requested, but the task execution has for some reason not started. For example, the task might not be enabled. Retrying: Start of the task failed and a new attempt has started. Error: Task has not been successfully sent to worker scheduler for execution and returned an error. For example, an error can occur when there is no available worker scheduler to execute the task, or the application is already being updated by another task. Reset: State that the manager scheduler sets to tasks during startup, if their current status is non-terminal, that is, if they have states like Triggered, Started, or Queued, where execution has not yet ended. Click to open a summary of the latest reload or user synchronization tasks. Tip noteIf the status of the task is not updating as expected, you can disable the cache for the task table. Add the following flag and set it to true in %Program Files%\Qlik\Sense\CapabilityService\capabilities.json, then restart the Qlik services:
{"contentHash":"2ae4a99c9f17ab76e1eeb27bc4211874","originalClassName":"FeatureToggle","flag":"QmcTaskTableCacheDisabled","enabled":true} |
Last execution |
The date and time of the last execution of the task. If never executed, no information is displayed. |
Next execution |
The trigger type that starts the next execution of the task:
|
Tags | The tags that are connected to the task. |
ID | The ID of the task. |
Created |
The date and time when the task was created. |
Last modified |
The date and time when the task was last modified. |
Modified by | By whom the task was modified. |
Sort the list ascending or descending. Some columns do not support sorting. |
|
Type a string to filter on, or, when available, select a predefined value. All rows that match your filter criteria are displayed. You can filter on multiple columns simultaneously to narrow your search. If a filter is applied to a column, is displayed. To remove your criteria, click Actions in the table header bar and select Clear filters and search. You can combine filtering with searching. |
|
Actions |
Options for clearing filter and search, selecting and deselecting all rows, and toggling wrapping. Information noteThe option Select all rows is applied to the rows that are currently displayed. Any rows that have been filtered out before selecting all rows are disregarded, even if they were selected. The option Deselect all rows is applied to all rows, including those that were filtered out.
|
Column selector: Select which columns to display in the overview. Click to reset to the default columns. | |
Search – both basic and more advanced searches. |
|
Refresh the page. |
|
Edit | Edit the selected task. |
Delete | Delete the selected tasks. |
Start | Start the selected tasks. |
Stop | Stop the selected tasks. |
Reload task | Create a new reload task. |
External program task | Create a new external program task. |
Distribution task | Create a new distribution task. |
More actions > Enable | Enable the selected tasks. |
More actions > Disable | Disable the selected tasks. |
More actions > Duplicate | Duplicate the selected reload task. External program tasks, distribution tasks, or user sync tasks cannot be duplicated. |
Show more | The overview shows a set number of items, by default. To show more items, scroll to the end of the list and click Show more. Searching, sorting, and filtering of items is always done on the full database list of items, not only the items that are displayed. |