Skip to content

bpmn-server / IExecution

Interface: IExecution#

Hierarchy#

IExecution

Implemented by#

Table of contents#

Properties#

Methods#

Properties#

instance#

instance: IInstanceData

Defined in#

interfaces/engine.ts:73


server#

server: IBPMNServer

Overrides#

IServerComponent.server

Defined in#

interfaces/engine.ts:74


tokens#

tokens: Map\<any, IToken>

Defined in#

interfaces/engine.ts:75


definition#

definition: IDefinition

Defined in#

interfaces/engine.ts:76


appDelegate#

appDelegate: IAppDelegate

Overrides#

IServerComponent.appDelegate

Defined in#

interfaces/engine.ts:77


logger#

logger: ILogger

Overrides#

IServerComponent.logger

Defined in#

interfaces/engine.ts:78


process#

process: any

Defined in#

interfaces/engine.ts:79


promises#

promises: any

Defined in#

interfaces/engine.ts:80


listener#

listener: any

Defined in#

interfaces/engine.ts:81


isLocked#

isLocked: boolean

Defined in#

interfaces/engine.ts:82


errors#

errors: any

Defined in#

interfaces/engine.ts:84


item#

item: any

Defined in#

interfaces/engine.ts:85


messageMatchingKey#

messageMatchingKey: any

Defined in#

interfaces/engine.ts:86


worker#

worker: any

Defined in#

interfaces/engine.ts:87


userName#

userName: any

Defined in#

interfaces/engine.ts:88


id#

id: any

Defined in#

interfaces/engine.ts:90


status#

status: any

Defined in#

interfaces/engine.ts:91


options#

options: any

Defined in#

interfaces/engine.ts:92


name#

name: any

Defined in#

interfaces/engine.ts:93


uids#

uids: Object

Defined in#

interfaces/engine.ts:127


configuration#

configuration: IConfiguration

Inherited from#

IServerComponent.configuration

Defined in#

interfaces/server.ts:22


cron#

cron: any

Inherited from#

IServerComponent.cron

Defined in#

interfaces/server.ts:24


cache#

cache: any

Inherited from#

IServerComponent.cache

Defined in#

interfaces/server.ts:25


engine#

engine: any

Inherited from#

IServerComponent.engine

Defined in#

interfaces/server.ts:27


dataStore#

dataStore: IDataStore

Inherited from#

IServerComponent.dataStore

Defined in#

interfaces/server.ts:28


definitions#

definitions: any

Inherited from#

IServerComponent.definitions

Defined in#

interfaces/server.ts:29

Methods#

getNodeById#

getNodeById(id): Node

Parameters#

Name Type
id any

Returns#

Node

Defined in#

interfaces/engine.ts:95


getToken#

getToken(id): IToken

Parameters#

Name Type
id number

Returns#

IToken

Defined in#

interfaces/engine.ts:96


tokenEnded#

tokenEnded(token): void

Parameters#

Name Type
token IToken

Returns#

void

Defined in#

interfaces/engine.ts:97


getItemsData#

getItemsData(): IItemData[]

Returns#

IItemData[]

Defined in#

interfaces/engine.ts:98


save#

save(): Promise\<void>

Returns#

Promise\<void>

Defined in#

interfaces/engine.ts:99


end#

end(): Promise\<void>

Returns#

Promise\<void>

Defined in#

interfaces/engine.ts:100


stop#

stop(): void

causes the execution to stop from running any further

Returns#

void

Defined in#

interfaces/engine.ts:105


terminate#

terminate(): void

Returns#

void

Defined in#

interfaces/engine.ts:106


execute#

execute(startNodeId?, inputData?): Promise\<void>

Parameters#

Name Type
startNodeId? any
inputData? Object

Returns#

Promise\<void>

Defined in#

interfaces/engine.ts:107


signalItem#

signalItem(executionId, inputData, options?): Promise\<IExecution>

invoke scenarios: itemId elementId - but only one is active elementId - for a startEvent in a secondary process

Parameters#

Name Type
executionId any
inputData any
options? Object

Returns#

Promise\<IExecution>

Defined in#

interfaces/engine.ts:118


signalEvent#

signalEvent(executionId, inputData, options?): Promise\<IExecution>

Parameters#

Name Type
executionId any
inputData any
options? Object

Returns#

Promise\<IExecution>

Defined in#

interfaces/engine.ts:119


signalRepeatTimerEvent#

signalRepeatTimerEvent(executionId, prevItem, inputData, options?): Promise\<IExecution>

Parameters#

Name Type
executionId any
prevItem any
inputData any
options? Object

Returns#

Promise\<IExecution>

Defined in#

interfaces/engine.ts:120


getItems#

getItems(query?): IItem[]

Parameters#

Name Type
query? any

Returns#

IItem[]

Defined in#

interfaces/engine.ts:122


getState#

getState(): IInstanceData

Returns#

IInstanceData

Defined in#

interfaces/engine.ts:123


restored#

restored(): void

Returns#

void

Defined in#

interfaces/engine.ts:124


resume#

resume(): void

Returns#

void

Defined in#

interfaces/engine.ts:125


report#

report(): void

Returns#

void

Defined in#

interfaces/engine.ts:126


getNewId#

getNewId(scope): number

Parameters#

Name Type
scope string

Returns#

number

Defined in#

interfaces/engine.ts:128


getUUID#

getUUID(): any

Returns#

any

Defined in#

interfaces/engine.ts:129


doExecutionEvent#

doExecutionEvent(process, event, eventDetails?): Promise\<any>

Parameters#

Name Type
process any
event any
eventDetails? any

Returns#

Promise\<any>

Defined in#

interfaces/engine.ts:130


doItemEvent#

doItemEvent(item, event, eventDetails?): Promise\<any>

Parameters#

Name Type
item any
event any
eventDetails? any

Returns#

Promise\<any>

Defined in#

interfaces/engine.ts:131


log#

log(...msg): void

Parameters#

Name Type
...msg any

Returns#

void

Defined in#

interfaces/engine.ts:132


logS#

logS(...msg): void

Parameters#

Name Type
...msg any

Returns#

void

Defined in#

interfaces/engine.ts:133


logE#

logE(...msg): void

Parameters#

Name Type
...msg any

Returns#

void

Defined in#

interfaces/engine.ts:134


info#

info(...msg): void

Parameters#

Name Type
...msg any

Returns#

void

Defined in#

interfaces/engine.ts:135


error#

error(msg): void

Parameters#

Name Type
msg any

Returns#

void

Defined in#

interfaces/engine.ts:136


appendData#

appendData(inputData, item, dataPath?, assignment?): void

Parameters#

Name Type
inputData any
item IItem
dataPath? any
assignment? any

Returns#

void

Defined in#

interfaces/engine.ts:137


getData#

getData(dataPath): any

Parameters#

Name Type
dataPath any

Returns#

any

Defined in#

interfaces/engine.ts:138