Class: BPMNSeparator

@proceed/core.BPMNSeparator()

Separator class that offers functionality to extract subprocesses for each activity in a BPMN diagram.

Constructor

new BPMNSeparator()

Source:

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)

Source:
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)

Source:
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

Source:
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

Source:
Returns:

Resolves when the init was finished

Type
Promise

@proceed/core.BPMNSeparator()

Separator class that offers functionality to extract subprocesses for each activity in a BPMN diagram.

Constructor

new BPMNSeparator()

Source:

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)

Source:
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)

Source:
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

Source:
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

Source:
Returns:

Resolves when the init was finished

Type
Promise