BPMN tasks
Introduction
Tasks are atomic pieces of work within a business process. They are - besides the sub-processes and call activities - a graphical representation of Activities.
Tasks can accure with different types and with different markers.
All task types can be combined with all task markers.
The task types, that are defined by BPMN are:
- none
- service
- send
- receive
- receive and instantiate process
- manual
- user
- business role
- script
The Symbio legacy definition for tasks is:
definition: OT_FUNC
shape: ST_FUNC
No. | JSON request / definition | JSON request / shape | Graphic display | BPMN definition | BPMN display |
---|---|---|---|---|---|
1 | "properties": { "type": "func", "kind": "OBJ" } |
"properties": { "type": "func" } |
<task>...</task> |
||
2 | "properties": { "type": "func", "kind": "OBJ", "funcType": "service" } |
"properties": { "type": "func" } |
<serviceTask> ... </serviceTask> |
||
3 | "properties": { "type": "func", "kind": "OBJ", "funcType": "send" } |
"properties": { "type": "func" } |
<sendTask> ... </sendTask> |
||
4 | "properties": { "type": "func", "kind": "OBJ", "funcType": "receive" } |
"properties": { "type": "func" } |
<receiveTask> ... </receiveTask> |
||
5 | "properties": { "type": "func", "kind": "OBJ", "funcType": "user" } |
"properties": { "type": "func" } |
<userTask> ... </userTask> |
||
6 | "properties": { "type": "func", "kind": "OBJ", "funcType": "manual" } |
"properties": { "type": "func" } |
<manualTask> ... </manualTask> |
The task markers, that are defined by BPMN are:
- none
- loop
- parallel multiple
- sequential multiple
- compensation
- compensation loop
No. | JSON request / definition | JSON request / shape | Graphic sdisplay | BPMN definition | BPMN sdisplay |
---|---|---|---|---|---|
A | "properties": { "type": "func", "kind": "OBJ" } |
"properties": { "type": "func" } |
<task> ... </task> |
||
B | "properties": { "type": "func", "kind": "OBJ", "funcMarker": "loop" } |
"properties": { "type": "func" } |
<task> ... <standard- LoopCharacteristics /> ... </task |
||
C | "properties": { "type": "func", "kind": "OBJ", "funcMarker": "parallelMultiple" } |
"properties": { "type": "func" } |
<task> ... <multiInstance- LoopCharacteristics /> ... </task> |
||
D | "properties": { "type": "func", "kind": "OBJ", "funcMarker": "sequentialMultiple" } |
"properties": { "type": "func" } |
<task> ... <multiInstance- LoopCharacteristics isSequential="true" /> ... </task> |
||
E | "properties": { "type": "func", "kind": "OBJ", "funcMarker": "compensation" } |
"properties": { "type": "func" } |
<task isFor- Compensation="true"> ... </task> |
||
F | "properties": { "type": "func", "kind": "OBJ", "funcMarker": "compensationLoop" } |
"properties": { "type": "func" } |
<task isFor- Compensation="true"> ... <standard- LoopCharacteristics /> ...</task> |