Flow Control & Logic
Conditions, loops, error handling, delays, groups, signals, watchdog
| Activity | What it does |
|---|---|
| Break | Stops the execution of the current loop or iterative process and exits immediately. |
| Call Function | Runs a function defined in this workflow, sharing the current run and browser/desktop session. |
| Compliance Check | Runs a backend compliance primitive and returns its result (status, confidence, routingAction, auditEntry). |
| Continue | Skips the current iteration of a loop and proceeds to the next iteration. |
| Delay | Delays the workflow execution for a specified duration. |
| End Execution | Ends the current ongoing execution with one of the following statuses: Completed, Canceled or Terminated |
| For Each | Iterates over a list and performs an action for each item. |
| Group | This activity serves as a container for organizing and managing multiple related activities. |
| If | Branches the workflow based on a specified condition. |
| Receive Signal | Block the execution until a signal is received. Use in combination with 'Send Signal'. |
| Retry On Error | Executes a group of tasks with a retry mechanism, where all tasks are retried as a group if any of them fail during exec |
| Run Workflow | Runs a child workflow with the same configuration as the current one. |
| Send Signal | Send a signal to a workflow. Use in combination with 'Wait For Signal'. |
| Set Run Outcome | Record how this run went, beyond whether it crashed. Temporal only knows completed or failed, so a run that did its job |
| Timeout Execution | Stops the currently running execution if it exceeds a specified timeout, setting its status to either Canceled or Termin |
| Try/Catch | Handles errors during workflow execution. It attempts to execute a block of actions and gracefully catches and processes |
| Watchdog | Monitors a directory and its subdirectories for any new files with the specified extension. When a file is detected, it |
| While | Executes specified activities while the condition evaluates to true. |
| Workflow Custom Name | Replace the automatically generated workflow name with a friendlier one |