-
Notifications
You must be signed in to change notification settings - Fork 49
messageflow
bpmn-server / MessageFlow
MessageFlow: can only be sent to active node in waiting
- or to a start event
-
↳
MessageFlow
- addBehaviour
- continue
- describe
- evaluateCondition
- execute
- getBehaviour
- hasBehaviour
- restored
- resume
- run
• new MessageFlow(id
, type
, from
, to
, def
): MessageFlow
Name | Type |
---|---|
id |
any |
type |
any |
from |
any |
to |
any |
def |
any |
• behaviours: Map
<any
, any
>
• def: any
• from: Node
• id: any
• isFlow: boolean
= false
• isMessageFlow: boolean
= true
• lane: any
• name: any
• subType: any
• to: Node
• type: any
▸ addBehaviour(nane
, behavriour
): void
Name | Type |
---|---|
nane |
any |
behavriour |
any |
void
▸ continue(item
): void
Name | Type |
---|---|
item |
Item |
void
▸ describe(): any
[][]
any
[][]
▸ evaluateCondition(item
): any
Name | Type |
---|---|
item |
any |
any
▸ execute(item
): Promise
<void
>
Name | Type |
---|---|
item |
Item |
Promise
<void
>
▸ getBehaviour(name
): any
Name | Type |
---|---|
name |
any |
any
▸ hasBehaviour(name
): boolean
respond by providing behaviour attributes beyond item and node information ex: timer due , input/outupt , fields
Name | Type |
---|---|
name |
any |
boolean
▸ restored(item
): void
Name | Type |
---|---|
item |
Item |
void
▸ resume(item
): void
Name | Type |
---|---|
item |
Item |
void
▸ run(item
): FLOW_ACTION
if flow has a condition, it must be evaluated and if result is true flow will continue otherwise, flow will be discarded.
Name | Type |
---|---|
item |
Item |