-
Notifications
You must be signed in to change notification settings - Fork 59
iexecution
bpmn-server / IExecution
-
↳
IExecution
- appDelegate
- cache
- configuration
- cron
- dataStore
- definition
- definitions
- engine
- errors
- id
- instance
- isLocked
- item
- listener
- logger
- messageMatchingKey
- name
- options
- process
- promises
- server
- status
- tokens
- uids
- userName
- worker
- appendData
- doExecutionEvent
- doItemEvent
- end
- error
- execute
- getAndCreateData
- getData
- getItems
- getItemsData
- getNewId
- getNodeById
- getState
- getToken
- getUUID
- log
- report
- restored
- resume
- save
- signalEvent
- signalItem
- signalRepeatTimerEvent
- stop
- terminate
- tokenEnded
• appDelegate: IAppDelegate
• cache: any
• configuration: IConfiguration
IServerComponent.configuration
• cron: any
• dataStore: IDataStore
• definition: IDefinition
• definitions: any
• engine: any
• errors: any
• id: any
• instance: IInstanceData
• isLocked: boolean
• item: any
• listener: any
• logger: ILogger
• messageMatchingKey: any
• name: any
• options: any
• process: any
• promises: any
• server: IBPMNServer
• status: any
• tokens: Map<any, IToken>
• uids: Object
• userName: any
• worker: any
▸ appendData(inputData, item, dataPath?, assignment?): void
| Name | Type |
|---|---|
inputData |
any |
item |
IItem |
dataPath? |
any |
assignment? |
any |
void
▸ doExecutionEvent(process, event): Promise<any>
| Name | Type |
|---|---|
process |
any |
event |
any |
Promise<any>
▸ doItemEvent(item, event): Promise<any>
| Name | Type |
|---|---|
item |
any |
event |
any |
Promise<any>
▸ end(): Promise<void>
Promise<void>
▸ error(msg): void
| Name | Type |
|---|---|
msg |
any |
void
▸ execute(startNodeId?, inputData?): Promise<void>
| Name | Type |
|---|---|
startNodeId? |
any |
inputData? |
Object |
Promise<void>
▸ getAndCreateData(dataPath, asArray?): any
| Name | Type |
|---|---|
dataPath |
any |
asArray? |
boolean |
any
▸ getData(dataPath): any
| Name | Type |
|---|---|
dataPath |
any |
any
▸ getItems(query?): IItem[]
| Name | Type |
|---|---|
query? |
any |
IItem[]
▸ getItemsData(): IItemData[]
▸ getNewId(scope): number
| Name | Type |
|---|---|
scope |
string |
number
▸ getNodeById(id): Node
| Name | Type |
|---|---|
id |
any |
▸ getState(): IInstanceData
▸ getToken(id): IToken
| Name | Type |
|---|---|
id |
number |
▸ getUUID(): any
any
▸ log(...msg): void
| Name | Type |
|---|---|
...msg |
any |
void
▸ report(): void
void
▸ restored(): void
void
▸ resume(): void
void
▸ save(): Promise<void>
Promise<void>
▸ signalEvent(executionId, inputData, options?): Promise<IExecution>
| Name | Type |
|---|---|
executionId |
any |
inputData |
any |
options? |
Object |
Promise<IExecution>
▸ signalItem(executionId, inputData, options?): Promise<IExecution>
invoke scenarios: itemId elementId - but only one is active elementId - for a startEvent in a secondary process
| Name | Type |
|---|---|
executionId |
any |
inputData |
any |
options? |
Object |
Promise<IExecution>
▸ signalRepeatTimerEvent(executionId, prevItem, inputData, options?): Promise<IExecution>
| Name | Type |
|---|---|
executionId |
any |
prevItem |
any |
inputData |
any |
options? |
Object |
Promise<IExecution>
▸ stop(): void
causes the execution to stop from running any further
void
▸ terminate(): void
void
▸ tokenEnded(token): void
| Name | Type |
|---|---|
token |
IToken |
void