Signals¶
Signals let published workflows respond asynchronously to business events through the Agentic Response Network (ARN). A signal definition specifies the event code, version, and payload schema. A publisher emits an occurrence of that signal, and ARN evaluates each subscription and routes the event to matching workflows. A single signal can start multiple workflows.
Define a signal¶
In Resources > Signals, look for an existing definition with the version and payload fields you need. To create one, add a signal definition, enter its code, version, name, description, and JSON payload schema, then set the status to Active when the definition is ready to use.
The schema is the contract between publishers and subscribers. A published payload that fails schema validation cannot be delivered.
Subscribe a workflow¶
- Open the workflow's Settings and go to Triggers > Signals.
- Add a subscription and select the active signal definition and version.
- Set a filter if the workflow should handle only some occurrences. Configure delivery retries and dead-letter handling as needed.
- In Security > Run signal triggers as, choose Triggering user to use the identity supplied with the signal, or Automation Identity to run as a configured automation user or application identity. See Signal execution identity for setup and permissions.
- Apply the subscription, then save and publish the workflow.
See the Signals trigger settings for subscription fields and execution identity for security context.
Filter incoming signals¶
Use a Boolean expression enclosed in {{ ... }}. A blank filter matches all occurrences of the selected signal. ARN evaluates the expression before invoking the subscriber. A false result or an evaluation error prevents that subscriber from running.
| Filter context | Available fields |
|---|---|
| Signal identity | $event.eventCode, $event.eventVersion, $event.eventKey |
| Tracing | $event.correlationId |
| Publisher | $event.publisherType, $event.publisherCode, $event.publishedByUser |
| Business data | $event.payload |
Use dot notation for nested fields and numeric indexes for arrays, such as $event.payload.items[0].status. Missing fields resolve to null. Compare compatible types and use numeric values on both sides of ordering comparisons. The supported operators include equality, inequality, numeric comparisons, AND (&&), OR (||), and NOT (!). Use parentheses to group conditions. Keep expressions to field access and supported operators. Function calls and optional chaining are unsupported.
Publish a signal from a workflow¶
Add a Publish Signal node at the point where the business event occurs. Select the registered signal definition and version, then supply a JSON payload or an expression that resolves to JSON matching the schema. Use the same signal key when retrying publication of the same occurrence and a different key for a separate occurrence.
ARN prevents duplicate delivery records for the same published message and subscription. A delivery can still be retried. In the subscriber workflow, use the signal key or a stable business identifier to avoid repeating business updates when processing is retried.
See the Publish Signal node reference for field details, including options for waiting on subscribers.
Example: Respond to a shipment delay¶
-
Create an active signal named Shipment Delay with code
SHIPMENT_DELAY, version1, and this payload schema. -
Subscribe a remediation workflow to version
1and use this filter to handle high-priority delays. -
Publish the subscriber workflow. In the publishing workflow, configure Publish Signal with the same definition and version, a signal key such as
DELAY-10482-01, and this payload. -
Save and publish the publishing workflow, then run it and verify that the remediation workflow starts. Repeat with a new signal key and
"priority": "LOW"to confirm that the subscriber is filtered out.
Monitor deliveries¶
In Resources > Signals, open Signal Control Tower. Find the occurrence in the live feed or signal history by signal code, key, or correlation ID. Check the delivery for each subscriber and inspect the workflow execution if the delivery launched a run.
When the configured attempts are exhausted, dead-letter handling moves the delivery to DEAD_LETTER. A delivery that fails without retries or with dead-letter handling disabled can end in FAILED. Read the delivery status for the individual subscription when several workflows subscribe to the same signal.
| What you see | What to check |
|---|---|
| Signal is missing | Verify the publisher, signal code and version, and payload schema. |
| Signal is accepted but the workflow has not started | Check that the subscriber is published and uses the same definition and version. Review the delivery status for queued processing or filtering. |
| Filter evaluation failed | Check the expression, field paths, and value types against the actual payload. |
| Delivery failed or entered dead letter | Inspect the workflow execution and the subscription's retry settings. Use the signal key to guard against duplicate business updates on retries. |