BpmnActivities API in JavaScript (ES5) Diagram API control
Defines the type of the Bpmn Activity
None - Sets the type of the Bpmn Activity as None
Task - Sets the type of the Bpmn Activity as Task
SubProcess - Sets the type of the Bpmn Activity as SubProcess