-
Notifications
You must be signed in to change notification settings - Fork 48
APIEngine
bpmn-server / APIEngine
-
APIComponent
↳
APIEngine
IEngineAPI
• new APIEngine(api
): APIEngine
Name | Type |
---|---|
api |
any |
APIComponent.constructor
• api: BPMNAPI
APIComponent.api
• get
server(): IBPMNServer
APIComponent.server
▸ assign(query
, data
, assignment
, user
, options?
): Promise
<IExecution
>
Name | Type |
---|---|
query |
any |
data |
any |
assignment |
any |
user |
ISecureUser |
options |
Object |
Promise
<IExecution
>
IEngineAPI.assign
▸ invoke(query
, data?
, user
, options?
): Promise
<IExecution
>
Name | Type |
---|---|
query |
any |
data |
Object |
user |
ISecureUser |
options |
Object |
Promise
<IExecution
>
IEngineAPI.invoke
▸ start(name
, data?
, user
, options?
): Promise
<IExecution
>
Name | Type |
---|---|
name |
any |
data |
Object |
user |
ISecureUser |
options |
Object |
Promise
<IExecution
>
IEngineAPI.start
▸ startEvent(query
, elementId
, data?
, user
, options?
): Promise
<IExecution
>
Name | Type |
---|---|
query |
any |
elementId |
any |
data |
Object |
user |
ISecureUser |
options |
Object |
Promise
<IExecution
>
IEngineAPI.startEvent
▸ throwMessage(messageId
, data
, messageMatchingKey
, user
, options?
): Promise
<IExecution
>
Name | Type |
---|---|
messageId |
any |
data |
any |
messageMatchingKey |
any |
user |
ISecureUser |
options |
Object |
Promise
<IExecution
>
IEngineAPI.throwMessage
▸ throwSignal(signalId
, data
, messageMatchingKey
, user
, options?
): Promise
<any
>
Name | Type |
---|---|
signalId |
any |
data |
any |
messageMatchingKey |
any |
user |
ISecureUser |
options |
Object |
Promise
<any
>
IEngineAPI.throwSignal