Optional
data: Partial<EventActivity>Optional
key: stringOptional
attachedOptional
name?: stringOptional
contextProtected
Optional
Readonly
keyProtected
processOptional
tokenThe activity that the boundary event is attached to.
If the event definition is a link event definition, return the link event definition type, otherwise if it's a timer event definition, return the timer event definition type, otherwise if it's an error event definition, return the error event definition type, otherwise if it's a signal event definition, return the signal event definition type, otherwise if it's a message event definition, return the message event definition type, otherwise if it's an escalation event definition, return the escalation event definition type, otherwise if it's a conditional event definition, return the conditional event definition type, otherwise if it's a compensation event definition, return the compensation event definition type
The type of the event definition.
The function returns the value of the id property of the object that is stored in the $ property of the current object
The id property of the object.
The function returns the value of the name property of the object that is stored in the $ property of the current object
The name property of the object.
If the event is attached to a reference, it's a boundary event. If the event's key contains the word "end", it's an end event. If the event's key contains the word "start", it's a start event. If the event's key contains the word "intermediate", it's an intermediate event. If none of the above are true, it's a start event
The type of the event.
Protected
goThe function handles outgoing transitions for a token in a workflow system.
outgoing
is an array of objects of type GoOutInterface
. Each object
represents an outgoing transition from a current activity to a new activity.
It takes the outgoing sequence flows from the current activity and creates a new token for each one
Optional
identity: IdentityOptionsIdentityOptions
Optional
options: { pause: boolean | string
The outgoing activity
The function takes an array of options, retrieves corresponding activities from an outgoing array, and passes them to another function.
An array of objects with two properties: "identity" and "pause". "identity" is a string representing the identity of the outgoing activity to be taken out, and "pause" is a boolean indicating whether the activity should be paused or not.
If the outgoing
property is falsy or an empty array, nothing is returned.
Static
buildA static method that is used to create a new instance of the EventActivity class.
BPMNEvent - the BPMN element that is being built
The process that the activity belongs to.
Optional
key: stringThe key of the activity.
A new instance of the EventActivity class.
Generated using TypeDoc
It returns the activity that the boundary event is attached to.