-
Notifications
You must be signed in to change notification settings - Fork 48
defaultappdelegate
bpmn-server / DefaultAppDelegate
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
- executionEvent
- executionStarted
- getServicesProvider
- issueMessage
- issueSignal
- messageThrown
- sendEmail
- serviceCalled
- signalThrown
- startUp
• new DefaultAppDelegate(server
): DefaultAppDelegate
Name | Type |
---|---|
server |
any |
engine/DefaultAppDelegate.ts:11
• server: any
engine/DefaultAppDelegate.ts:8
• get
moddleOptions(): Object
Object
Name | Type |
---|---|
name |
string |
prefix |
string |
types |
({ extends : string [] ; isAbstract : boolean = true; name : string = "Task"; properties : { isAttr : boolean = true; name : string = "result"; type : string = "String" }[] ; superClass? : undefined } | { extends? : undefined ; isAbstract? : undefined = true; name : string = "Output"; properties? : undefined ; superClass : string [] })[] |
uri |
string |
xml |
{ tagAlias : string = "lowerCase" } |
xml.tagAlias |
string |
engine/DefaultAppDelegate.ts:29
▸ executionEvent(context
, event
): Promise
<void
>
Name | Type |
---|---|
context |
any |
event |
any |
Promise
<void
>
engine/DefaultAppDelegate.ts:35
▸ executionStarted(execution
): Promise
<void
>
Name | Type |
---|---|
execution |
IExecution |
Promise
<void
>
engine/DefaultAppDelegate.ts:32
▸ getServicesProvider(context
): Promise
<DefaultAppDelegate
>
Name | Type |
---|---|
context |
any |
Promise
<DefaultAppDelegate
>
IAppDelegate.getServicesProvider
engine/DefaultAppDelegate.ts:18
▸ issueMessage(messageId
, data
): Promise
<void
>
is called when an event throws a message that can not be answered by another process
Name | Type |
---|---|
messageId |
any |
data |
any |
Promise
<void
>
engine/DefaultAppDelegate.ts:64
▸ issueSignal(signalId
, data
): Promise
<void
>
Name | Type |
---|---|
signalId |
any |
data |
any |
Promise
<void
>
engine/DefaultAppDelegate.ts:67
▸ messageThrown(messageId
, data
, messageMatchingKey
, item
): Promise
<void
>
is called when a event throws a message
Name | Type |
---|---|
messageId |
any |
data |
any |
messageMatchingKey |
any |
item |
Item |
Promise
<void
>
engine/DefaultAppDelegate.ts:46
▸ sendEmail(to
, msg
, body
): void
Name | Type |
---|---|
to |
any |
msg |
any |
body |
any |
void
engine/DefaultAppDelegate.ts:25
▸ serviceCalled(serviceName
, data
, item
): Promise
<void
>
is called only if the serviceTask has no implementation; otherwise the specified implementation will be called.
Name | Type |
---|---|
serviceName |
any |
data |
any |
item |
Item |
Promise
<void
>
engine/DefaultAppDelegate.ts:82
▸ signalThrown(signalId
, data
, messageMatchingKey
, item
): Promise
<void
>
Name | Type |
---|---|
signalId |
any |
data |
any |
messageMatchingKey |
any |
item |
Item |
Promise
<void
>
engine/DefaultAppDelegate.ts:70
▸ startUp(options
): void
Name | Type |
---|---|
options |
any |
void