Skip to content

process

ralphhanna edited this page Dec 18, 2023 · 3 revisions

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:22

Properties

childrenNodes

childrenNodes: Node[]

Defined in

elements/Process.ts:17


def

def: Definition

Defined in

elements/Process.ts:15


eventSubProcesses

eventSubProcesses: any[]

Defined in

elements/Process.ts:18


id

id: any

Defined in

elements/Process.ts:12


isExecutable

isExecutable: any

Defined in

elements/Process.ts:14


name

name: any

Defined in

elements/Process.ts:13


parent

parent: Process

Defined in

elements/Process.ts:16


scripts

scripts: Map<any, any>

Defined in

elements/Process.ts:20


subProcessEvents

subProcessEvents: any[]

Defined in

elements/Process.ts:19

Methods

end

end(): Promise<void>

Notify process that it ended

Returns

Promise<void>

Defined in

elements/Process.ts:55


getEventSubProcessStart

getEventSubProcessStart(): Node[]

Returns

Node[]

Defined in

elements/Process.ts:84


getStartNode

getStartNode(userInvokable?): any

Parameters

Name Type Default value
userInvokable boolean false

Returns

any

Defined in

elements/Process.ts:64


getStartNodes

getStartNodes(userInvokable?): any[]

Parameters

Name Type Default value
userInvokable boolean false

Returns

any[]

Defined in

elements/Process.ts:67


init

init(children, eventSubProcesses): void

Parameters

Name Type
children any
eventSubProcesses any

Returns

void

Defined in

elements/Process.ts:29


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:36

Clone this wiki locally