-
Notifications
You must be signed in to change notification settings - Fork 49
process
ralphhanna edited this page Dec 18, 2023
·
3 revisions
bpmn-server / Process
• new Process(definition
, parent?
): Process
Name | Type | Default value |
---|---|---|
definition |
any |
undefined |
parent |
any |
null |
• childrenNodes: Node
[]
• def: Definition
• eventSubProcesses: any
[]
• id: any
• isExecutable: any
• name: any
• parent: Process
• scripts: Map
<any
, any
>
• subProcessEvents: any
[]
▸ end(): Promise
<void
>
Notify process that it ended
Promise
<void
>
▸ getEventSubProcessStart(): Node
[]
Node
[]
▸ getStartNode(userInvokable?
): any
Name | Type | Default value |
---|---|---|
userInvokable |
boolean |
false |
any
▸ getStartNodes(userInvokable?
): any
[]
Name | Type | Default value |
---|---|---|
userInvokable |
boolean |
false |
any
[]
▸ init(children
, eventSubProcesses
): void
Name | Type |
---|---|
children |
any |
eventSubProcesses |
any |
void
▸ start(execution
, parentToken
): Promise
<void
>
Notify process that it started
Name | Type |
---|---|
execution |
Execution |
parentToken |
any |
Promise
<void
>