Control & Flow Actions
Control and flow actions direct how a run proceeds: invoke another rule set, write to the log, iterate over an array, or pause for a person to step in.
At a glance
| Action | Use it to |
|---|---|
| Rule | Invoke another rule set, optionally passing parameters. |
| Log | Record a message and optional attachments during the run. |
| Human Intervention | Pause the run for human review, then resume. |
| Array Loop | Repeat a set of actions once per item in an array. |
Rule
The Rule action invokes another rule set by id, letting you factor shared logic into reusable units and compose larger workflows. Its key settings:
| Field | Role |
|---|---|
| Rule Set Id | The rule set to invoke. |
| Copy Existing Context | Whether the called rule set inherits the current context. |
| Rule Set Parameters | Named values passed into the called rule set. |
See Rules for how rule sets are organized.
Log
The Log action records a message during execution, which is invaluable for tracing and debugging. It takes a log level, one or more values to write (joined by an optional separator), and optional attachments referenced by context key.
| Field | Role |
|---|---|
| Log Level | Severity of the entry. |
| Values | One or more values that make up the message. |
| Value Separator | Optional text inserted between values. |
| Attachments | Optional context keys attached to the entry. |
Log entries surface in Logging & Observability, where you can review what a run did.
Human Intervention
The Human Intervention action pauses the run and waits for a person to review and respond. The engine generates a time-limited URL (optionally a form) that a reviewer opens; submitting it resumes the run at a designated rule set.
| Field | Role |
|---|---|
| Rule Set Id | The rule set resumed when the reviewer submits. |
| Url Expiration Hours | How long the generated link stays valid. |
| Max Url Uses | How many times the link may be used (defaults to one). |
| Generated Url Context Key | Context key that receives the generated link. |
| Form Document Json | Optional definition of the review form. |
See Human Intervention for the full pause-and-resume flow. This action is not available inside extension projects.
Array Loop
The Array Loop action repeats a nested set of actions once for each element of an array, exposing the current item and index to the inner actions on each pass. Use it to process collections — for example, calling an API or transforming a value for every record in a list.