Defines the behavior of the bpmn task shape
boolean
Sets whether the task is global or not
Defaults to false
boolean
Sets whether the task is triggered as a compensation of another specific activity
<div id='diagram'></div>
let nodes: NodeModel[] = [{
id: 'node', width: 100, height: 100, offsetX: 100, offsetY: 100,
shape: {
type: 'Bpmn', shape: 'Activity', activity: {
activity: 'Task',
task: { call: true, compensation: false, type: 'Service', loop: 'ParallelMultiInstance' }
}} as BpmnShapeModel,
}];
let diagram: Diagram = new Diagram({
...
nodes : nodes,
...
});
diagram.appendTo('#diagram');
Defaults to false
string
Defines the type of the BPMN loops
Defaults to ‘None’
string
Defines the type of the task
Defaults to ‘None’