-
Notifications
You must be signed in to change notification settings - Fork 48
definition
ralphhanna edited this page Dec 18, 2023
·
3 revisions
bpmn-server / Definition
• new Definition(name
, source
, server
): Definition
Name | Type |
---|---|
name |
string |
source |
string |
server |
BPMNServer |
• accessRules: any
[] = []
• flows: any
[] = []
• logger: any
• moddle: any
• name: any
• nodes: Map
<any
, any
>
• processes: Map
<any
, any
>
• rootElements: any
• server: any
• source: any
▸ getDefinition(source
, logger
): Promise
<any
>
Name | Type |
---|---|
source |
any |
logger |
any |
Promise
<any
>
▸ getFields(elementId
): Promise
<any
>
Name | Type |
---|---|
elementId |
any |
Promise
<any
>
▸ getJson(): string
string
▸ getNodeById(id
): any
Name | Type |
---|---|
id |
any |
any
▸ getStartNode(): any
any
▸ getStartNodes(userInvokable?
): any
[]
Name | Type | Default value |
---|---|---|
userInvokable |
boolean |
false |
any
[]
▸ load(): Promise
<any
>
Promise
<any
>
▸ loadProcess(definition
, processElement
, parentProcess
): Process
Name | Type |
---|---|
definition |
any |
processElement |
any |
parentProcess |
any |