Methods
(async) next(endEventID) → {Promise}
Creates and returns the next subprocess of the original BPMN diagram corresponding to the activity with the given id, or the first activity if none was given.
Parameters:
Name | Type | Description |
---|---|---|
endEventID |
string | The id of the end event (equal to the id of the next activity) |
Returns:
Resolves when the next activity subprocess was created
- Type
- Promise
(async) next(endEventID) → {Promise}
Creates and returns the next subprocess of the original BPMN diagram corresponding to the activity with the given id, or the first activity if none was given.
Parameters:
Name | Type | Description |
---|---|---|
endEventID |
string | The id of the end event (equal to the id of the next activity) |
Returns:
Resolves when the next activity subprocess was created
- Type
- Promise
(async) setBPMN(bpmnXML) → {Promise}
Set the BPMN diagram for the separator to use.
Parameters:
Name | Type | Description |
---|---|---|
bpmnXML |
string | The BPMN XML |
Returns:
Resolves when the init was finished
- Type
- Promise
(async) setBPMN(bpmnXML) → {Promise}
Set the BPMN diagram for the separator to use.
Parameters:
Name | Type | Description |
---|---|---|
bpmnXML |
string | The BPMN XML |
Returns:
Resolves when the init was finished
- Type
- Promise