-
Notifications
You must be signed in to change notification settings - Fork 49
iappdelegate
ralphhanna edited this page Dec 18, 2023
·
3 revisions
bpmn-server / 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
- executionStarted
- getServicesProvider
- issueMessage
- issueSignal
- messageThrown
- sendEmail
- serviceCalled
- signalThrown
- startUp
• moddleOptions: any
▸ executionStarted(execution
): any
Name | Type |
---|---|
execution |
any |
any
▸ getServicesProvider(IExecution
): any
Name | Type |
---|---|
IExecution |
any |
any
▸ issueMessage(messageId
, data
): any
is called when an event throws a message that can not be answered by another process
Name | Type |
---|---|
messageId |
any |
data |
any |
any
▸ issueSignal(messageId
, data
): any
Name | Type |
---|---|
messageId |
any |
data |
any |
any
▸ messageThrown(signalId
, data
, messageMatchingKey
, item
): any
Name | Type |
---|---|
signalId |
any |
data |
any |
messageMatchingKey |
any |
item |
IItem |
any
▸ sendEmail(to
, msg
, body
): any
Name | Type |
---|---|
to |
any |
msg |
any |
body |
any |
any
▸ serviceCalled(serviceName
, data
, item
): any
is called only if the serviceTask has no implementation; otherwise the specified implementation will be called.
Name | Type |
---|---|
serviceName |
any |
data |
any |
item |
IItem |
any
▸ signalThrown(signalId
, data
, messageMatchingKey
, item
): any
Name | Type |
---|---|
signalId |
any |
data |
any |
messageMatchingKey |
any |
item |
IItem |
any
▸ startUp(options
): any
Name | Type |
---|---|
options |
any |
any