Runtime actions are actions that are performed within the process runtime environment. They allow triggers to interact directly with running processes and BPMN messaging mechanisms.
Start Message
The action to send a start message will send a named message when an event criteria are met. The message can be caught by a message start event to start a process instance. The payload for the start message action is:
| Property | Required | Description |
|---|---|---|
| name | Required | The name of the message to send. For example, Message_077epax. |
| payloadType | Required | The payload type used by the action. This value is set to StartMessagePayload and cannot be changed. |
| businessKey | Optional | A business key identifier associated with the process instance. |
| variables | Optional | Values from the trigger event that are included in the message payload and passed to the receiving process or message event. |
Throw Message
The Throw Message action sends a named message when the trigger criteria are met. The message can be received by Message Intermediate Catch Events or Message Boundary Events.
| Property | Required | Description |
|---|---|---|
| name | Required | The name of the message to send. For example, Message_077epax. |
| correlationKey | Required | A correlation key used to match the message with the appropriate waiting process instance. For example, 014-245. |
| payloadType | Required | The payload type used by the action. This value is set to ReceiveMessagePayload and cannot be changed. |
| variables | Optional | Values from the trigger event that are included in the message payload. |
Start a Process
The action to start a process will begin a process instance when the event criteria are met. The payload for the start process action is:
| Property | Required | Description |
|---|---|---|
| processDefinitionKey | Required | The process definition used to create the process instance. The process definition must be in the same project as the trigger. |
| name | Required | The name assigned to the process instance. For example, slackUserId. |
| payloadType | Required | The payload type used by the action. This value is set to StartProcessPayload and cannot be changed. |
| businessKey | Optional | A business key identifier for the process instance. |
| variables | Optional | Values from the trigger event that are mapped to process variables in the target process definition. If the trigger event originates from a connector, connector output parameters can also be mapped. |
Send a Signal
The Send a Signal action publishes a named signal with global scope when the trigger criteria are met. Any process configured to listen for the specified signal can receive the event.
The signal can be received by signal start events, signal intermediate catch events, and signal boundary events.
The payload for the send signal action is:
| Property | Required | Description |
|---|---|---|
| name | Required | The name of the signal to publish. For example, Signal_0n91cib. |
| payloadType | Optional | The payload type used by the action. This value is set to SignalPayload and cannot be changed. |
| variables | Optional | Values from the trigger event that are mapped to process variables in the receiving process. If the trigger event originates from a connector, connector output parameters can also be mapped. |