Task
![task 1](_images/task-1.png)
Task Types
Task supports a variety of task types:
![task type 1](_images/task-type-1.png)
-
Human blocking HB - Like a BPMN User task, is completed manually by the task performer.
-
Human non-blocking HNB - Like a BPMN User task, except lifecycle state becomes Completed immediately, even if task action is not complete.
-
Process: used to call a BPMN process already saved and available through the Digital Enterprise Graph. It may be blocking or non-blocking. P
-
Decision: used to call a DMN decision or decision service available through the Digital Enterprise Graph. Always blocking. D
-
Case: used to call another case available through the Digital Enterprise Graph. It may be blocking or non-blocking. C
Task Attrbutes
Also, attributes can be set. Some are indicated by markers on the task shape. Below is the list of available attributes based on task type:
-
Repeat: HB, HNB, P, D, C
![repeat](_images/repeat.png)
-
Required: HB, HNB, P, D, C
![required](_images/required.png)
-
Manual activation: HB, HNB, P, D, C
![manual](_images/manual.png)
-
Is blocking: HB, HNB, P, D, C
![user task](_images/user-task.png)
![process task](_images/process-task.png)
-
Inputs/outputs: HB, HNB, D
-
Data mapping: P, D, C
-
Performers: HB, HNB, D, C
Discretionary Task
An extra flavor of a task is available and called a discretionary task (see picture below). It is represented as a dotted task shape. This kind of task is instantiated based on applicability rule attribute defined in a planning table. It can only be instantiated in a case instance if applicability rule is fulfilled.
![task 2](_images/task-2.png)