bpmn-server / IAppDelegate
Interface: IAppDelegate#
Application Delegate Object to respond to various events and services:
- receive all events from workflow
- receive service calls
- receive message and signal calls
- execute scripts
Implemented by#
Table of contents#
Properties#
Methods#
- getServicesProvider
- sendEmail
- executionStarted
- startUp
- messageThrown
- signalThrown
- issueMessage
- issueSignal
- serviceCalled
Properties#
moddleOptions#
• moddleOptions: any
Defined in#
Methods#
getServicesProvider#
▸ getServicesProvider(IExecution
): any
Parameters#
Name | Type |
---|---|
IExecution |
any |
Returns#
any
Defined in#
sendEmail#
▸ sendEmail(to
, msg
, body
): any
Parameters#
Name | Type |
---|---|
to |
any |
msg |
any |
body |
any |
Returns#
any
Defined in#
executionStarted#
▸ executionStarted(execution
): any
Parameters#
Name | Type |
---|---|
execution |
any |
Returns#
any
Defined in#
startUp#
▸ startUp(options
): any
Parameters#
Name | Type |
---|---|
options |
any |
Returns#
any
Defined in#
messageThrown#
▸ messageThrown(signalId
, data
, messageMatchingKey
, item
): any
Parameters#
Name | Type |
---|---|
signalId |
any |
data |
any |
messageMatchingKey |
any |
item |
IItem |
Returns#
any
Defined in#
signalThrown#
▸ signalThrown(signalId
, data
, messageMatchingKey
, item
): any
Parameters#
Name | Type |
---|---|
signalId |
any |
data |
any |
messageMatchingKey |
any |
item |
IItem |
Returns#
any
Defined in#
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#
issueSignal#
▸ issueSignal(messageId
, data
): any
Parameters#
Name | Type |
---|---|
messageId |
any |
data |
any |
Returns#
any
Defined in#
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