Optional
data: Partial<GatewayActivity>Optional
key: stringOptional
default?: stringOptional
name?: stringOptional
contextProtected
Optional
Readonly
keyProtected
processOptional
tokenThe 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 key contains the word "complex", return GatewayType.Complex, otherwise if the key contains the word "parallel", return GatewayType.Parallel, otherwise if the key contains the word "inclusive", return GatewayType.Inclusive, otherwise if the key contains the word "exclusive", return GatewayType.Exclusive, otherwise if the key contains the word "eventBased", return GatewayType.EventBased, otherwise return undefined
The type of the gateway.
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.
Protected
takeOptional
identity: IdentityOptionsThis function takes the outgoing sequence flows of a gateway and returns the next activity to be executed
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
buildIt creates a new GatewayActivity object.
BPMNGateway - this is the BPMN element that is being converted to an activity.
The process that the activity belongs to.
Optional
key: stringThe key of the activity. This is used to identify the activity in the process.
A new GatewayActivity object.
Generated using TypeDoc
If the default property exists, get the BPMN activity with the id of the default property, and if that exists, return a new Sequence object with the activity and the process