Search results

BpmnEventModel

Interface for a class BpmnEvent

Properties

event

string

<div id='diagram'></div>
let nodes: NodeModel[] = [{
 id: 'node', width: 100, height: 100, offsetX: 100, offsetY: 100,
 shape: {
 type: 'Bpmn', shape: 'Event',
  event: { event: 'Start', trigger: 'None' } } as BpmnShapeModel,
}];
let diagram: Diagram = new Diagram({
...
nodes : nodes,
...
});
diagram.appendTo('#diagram');

trigger

string

Defines the type of the trigger

  • None - Sets the type of the trigger as None
  • Message - Sets the type of the trigger as Message
  • Escalation - Sets the type of the trigger as Escalation
  • Link - Sets the type of the trigger as Link
  • Error - Sets the type of the trigger as Error
  • Compensation - Sets the type of the trigger as Compensation
  • Signal - Sets the type of the trigger as Signal
  • Multiple - Sets the type of the trigger as Multiple
  • Parallel - Sets the type of the trigger as Parallel
  • Cancel - Sets the type of the trigger as Cancel
  • Conditional - Sets the type of the trigger as Conditional
  • Terminate - Sets the type of the trigger as Terminate