Optional
data: Partial<TaskActivity>Optional
key: stringOptional
name?: stringOptional
contextProtected
Optional
Readonly
keyProtected
processOptional
tokenan array of attachments. These attachments are boundary events that are attached to the current BPMN element. The function filters out any boundary events that are not attached to the current element and then maps them to their corresponding activities. The resulting array contains the activities that are attached as boundaries to the current element.
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 key property of the current object contains the word "send", return the value of the Send enum, otherwise if the key property of the current object contains the word "user", return the value of the User enum, otherwise if the key property of the current object contains the word "manual", return the value of the Manual enum, otherwise if the key property of the current object contains the word "script", return the value of the Script enum, otherwise if the key property of the current object contains the word "receive", return the value of the Receive enum, otherwise if the key property of the current object contains the word "service", return the value of the Service enum, otherwise if the key property of the current object contains the word "business", return the value of the Business enum, otherwise return undefined
The task type.
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 TaskActivity class.
BPMNTask - this is the BPMN element that is being built.
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 TaskActivity object.
Generated using TypeDoc
The function retrieves the attachments of a boundary event in a BPMN process.