Viewing task chains
You can create task chains in various patterns by creating reload tasks and triggers for apps. From the task overview page you can access the task chain dialog to get information about tasks that will trigger a reload of the selected task.
Do the following:fmaster
-
Open the QMC: https://<QPS server name>/qmc
-
Select Tasks on the QMC start page or from the Start drop-down menu to display the overview.
Tip noteYou can filter a column by using the filtering option: -
Click on a selected task.
The Task chain dialog opens. The selected task is highlighted and the arrow on the left side of the dialog points to the selected task in the tasks overview page. The dialog displays information about the task chaining and you can manage the tasks by performing a number of actions, as follows:
-
Preceding tasks displays the tasks that initiates the selected task when completed. This can be a single task or a number of tasks that must all be completed within a set time period. Click to expand the list and collapse by clicking .
-
Following tasks displays the tasks that will be initiated when the selected task is completed. The selected task can trigger another task on its own or together with other tasks. Click to expand the list and collapse by clicking .
Information noteTwo levels of following tasks are displayed. -
Click in the dialog heading if you want to update the task status, that is displayed to the left of each 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 Start next to the task to manually start a task.
- Click Stop next to the task to manually stop a task.
- Click outside the dialog if you want to close the dialog.
-
Double-click a task in the dialog.
The tasks overview page is displayed and the task you double-clicked is selected. You can click to display the task chain applied to that task.
-
You now have viewed the task chaining summary for a task.