Trigger actions define what happens when a trigger event is fired. A trigger can start a process instance, send a BPMN signal, or invoke a connector action. Each action receives a payload that is generated from the event that activated the trigger.
Use trigger actions to:
- Start a process when a trigger condition is met.
- Send BPMN signals to other processes.
- Invoke connector actions to integrate with external systems.
- Pass event data to processes and integrations through action payloads.
The values included in an action payload can be populated from the source event in several ways. The available options depend on the event type that triggered the action. For example, a Slack MESSAGE_RECEIVED event can provide values such as the Slack channel identifier or expressions based on the event model.
| Setting Action Method | Description |
|---|---|
| Variables | Values from the source event. For example, a BPMN activity event can provide variables such as processDefinitionKey. |
| Expressions | Values created using JSON expressions for more complex mappings. For example, ${temperature.celsius} returns the value of the celsius property. |
| Values | Static values entered directly when configuring the trigger action. |
The following trigger action types are available:
| Trigger Action Type | Description |
|---|---|
| Runtime Trigger Actions | Execute actions within the workflow runtime environment, such as starting a process instance, sending a message, or publishing a signal. |
| Connector Trigger Actions | Invoke actions provided by configured connectors to integrate with external systems and services. |
| Docgen Service Trigger Actions | Generate documents using document generation services and templates. |
| Email Service Trigger Actions | Send email messages based on trigger events and mapped payload values. |
| Script Runtime Trigger Actions | Execute scripts and pass event data to custom runtime logic. |
| Content Trigger Actions | Perform operations on repository content, such as creating, updating, moving, or retrieving content. |