Task status change event
The change in status for a task in plan creates an event. Whenever the monitored task changes its status, an event is created, and you can configure the event conditions to match such an event. When all the event conditions are satisfied, it triggers the workflow. You can configure the event conditions to trigger an event whenever the monitored task changes its status or only when it changes to a specific status.
Overview
You can configure the event conditions with the different statuses of a task. You can customize both mandatory and optional attribute filters to define specific conditions to trigger an event. This configuration empowers you to tailor events according to specific preferences or requirements, that enhances the flexibility and adaptability.
-
- Workstation
- Specify the workstation of the workflow that contains the task to be monitored. This detail must be preceded by the workstation folder details. The supported value type is string and for available operators see Event driven orchestration configuration attributes. Wildcard characters are permitted.
-
- Workflow
- Specify the workflow that contains the task to be monitored. This detail must be preceded by the workflow folder details. The supported value type is string and for available operators see Event driven orchestration configuration attributes. Wildcard characters are permitted.
-
- task
- Specify the name of the task that is monitored for a change in its status. When the specified status or statuses for the task is reached, it satisfies the condition. If you do not specify any value for internal or external status, whenever the task changes its status the filter is considered satisfied. The supported value type is string and for available operators see Event driven orchestration configuration attributes. Wildcard characters are permitted.
-
- Task workstation
- Specify the workstation where the task to be monitored runs. This detail must be preceded by the workstation folder details. The supported value type is string and for available operators see Event driven orchestration configuration attributes. Wildcard characters are permitted.
-
- Priority
- Specify the priority of the task. You can specify any value between 0-101. If you add a value, the change in status of the monitored task only with that priority satisfies the condition. The supported value type is nonnegativeinteger and for available operators see Event driven orchestration configuration attributes. Wildcard characters are not permitted.
-
- Return code
- Only valid for completed or abended tasks. Specify the value, only if you expect to trigger the event when the task is completed or abended. The supported value type is numeric and for available operators see Event driven orchestration configuration attributes. Wildcard characters are not permitted.
-
- External status
- Specify an external status for the task to set as an event condition. The supported value type is string and for available operators see Event driven orchestration configuration attributes. Wildcard characters are not permitted.
-
- Internal status
- Specify an internal status for the task to set as an event condition. The supported value type is string and for available operators see Event driven orchestration configuration attributes. Wildcard characters are not permitted.
-
- Internal sub status
- You can use this optional attribute to further configure the event conditions for HOLD, READY and SUCC statuses. The supported value type is string and for available operators see Event driven orchestration configuration attributes. Wildcard characters are not permitted.
-
- Recoverable
- This optional attribute is only valid if the task you want to monitor has recovery or rerun option. The supported value type is boolean and for available operators see Event driven orchestration configuration attributes. Wildcard characters are not permitted.
-
- Output conditions
- You can specify the name of the output conditions of the monitored task, if any exist. Make sure to add only those output conditions that are satisfied for the task. The supported value type is string and for available operators see Event driven orchestration configuration attributes. Wildcard characters are not permitted. You can add single or multiple values and if any one is matched, the filter is considered satisfied.