Skip to content

bpmn-server / IAppDelegate

Interface: IAppDelegate#

Application Delegate Object to respond to various events and services:

  1. receive all events from workflow
  2. receive service calls
  3. receive message and signal calls
  4. execute scripts

Implemented by#

Table of contents#

Properties#

Methods#

Properties#

moddleOptions#

moddleOptions: any

Defined in#

interfaces/common.ts:81

Methods#

getServicesProvider#

getServicesProvider(IExecution): any

Parameters#

Name Type
IExecution any

Returns#

any

Defined in#

interfaces/common.ts:82


sendEmail#

sendEmail(to, msg, body): any

Parameters#

Name Type
to any
msg any
body any

Returns#

any

Defined in#

interfaces/common.ts:83


executionStarted#

executionStarted(execution): any

Parameters#

Name Type
execution any

Returns#

any

Defined in#

interfaces/common.ts:84


startUp#

startUp(options): any

Parameters#

Name Type
options any

Returns#

any

Defined in#

interfaces/common.ts:85


messageThrown#

messageThrown(signalId, data, messageMatchingKey, item): any

Parameters#

Name Type
signalId any
data any
messageMatchingKey any
item IItem

Returns#

any

Defined in#

interfaces/common.ts:86


signalThrown#

signalThrown(signalId, data, messageMatchingKey, item): any

Parameters#

Name Type
signalId any
data any
messageMatchingKey any
item IItem

Returns#

any

Defined in#

interfaces/common.ts:87


issueMessage#

issueMessage(messageId, data): any

is called when an event throws a message that can not be answered by another process

Parameters#

Name Type
messageId any
data any

Returns#

any

Defined in#

interfaces/common.ts:95


issueSignal#

issueSignal(messageId, data): any

Parameters#

Name Type
messageId any
data any

Returns#

any

Defined in#

interfaces/common.ts:96


serviceCalled#

serviceCalled(serviceName, data, item): any

is called only if the serviceTask has no implementation; otherwise the specified implementation will be called.

Parameters#

Name Type
serviceName any
data any
item IItem

Returns#

any

Defined in#

interfaces/common.ts:102