Skip to content

bpmn-server / Process

Class: Process#

Table of contents#

Constructors#

Properties#

Methods#

Constructors#

constructor#

new Process(definition, parent?): Process

Parameters#

Name Type Default value
definition any undefined
parent any null

Returns#

Process

Defined in#

elements/Process.ts:23

Properties#

id#

id: any

Defined in#

elements/Process.ts:13


name#

name: any

Defined in#

elements/Process.ts:14


isExecutable#

isExecutable: any

Defined in#

elements/Process.ts:15


def#

def: Definition

Defined in#

elements/Process.ts:16


parent#

parent: Process

Defined in#

elements/Process.ts:17


childrenNodes#

childrenNodes: Node[]

Defined in#

elements/Process.ts:18


eventSubProcesses#

eventSubProcesses: any[]

Defined in#

elements/Process.ts:19


subProcessEvents#

subProcessEvents: any[]

Defined in#

elements/Process.ts:20


scripts#

scripts: Map\<any, any>

Defined in#

elements/Process.ts:21

Methods#

init#

init(children, eventSubProcesses): void

Parameters#

Name Type
children any
eventSubProcesses any

Returns#

void

Defined in#

elements/Process.ts:30


start#

start(execution, parentToken): Promise\<void>

Notify process that it started

Parameters#

Name Type
execution Execution
parentToken any

Returns#

Promise\<void>

Defined in#

elements/Process.ts:37


end#

end(execution): Promise\<void>

Notify process that it ended

Parameters#

Name Type
execution IExecution

Returns#

Promise\<void>

Defined in#

elements/Process.ts:60


getStartNode#

getStartNode(userInvokable?): any

Parameters#

Name Type Default value
userInvokable boolean false

Returns#

any

Defined in#

elements/Process.ts:81


getStartNodes#

getStartNodes(userInvokable?): any[]

Parameters#

Name Type Default value
userInvokable boolean false

Returns#

any[]

Defined in#

elements/Process.ts:84


getEventSubProcessStart#

getEventSubProcessStart(): Node[]

Returns#

Node[]

Defined in#

elements/Process.ts:101


doEvent#

doEvent(execution, event, eventDetails?): Promise\<void>

Parameters#

Name Type
execution any
event any
eventDetails Object

Returns#

Promise\<void>

Defined in#

elements/Process.ts:114


describe#

describe(): any[]

Returns#

any[]

Defined in#

elements/Process.ts:126