Skip to main content

Flow Control & Logic

Conditions, loops, error handling, delays, groups, signals, watchdog

ActivityWhat it does
BreakStops the execution of the current loop or iterative process and exits immediately.
Call FunctionRuns a function defined in this workflow, sharing the current run and browser/desktop session.
Compliance CheckRuns a backend compliance primitive and returns its result (status, confidence, routingAction, auditEntry).
ContinueSkips the current iteration of a loop and proceeds to the next iteration.
DelayDelays the workflow execution for a specified duration.
End ExecutionEnds the current ongoing execution with one of the following statuses: Completed, Canceled or Terminated
For EachIterates over a list and performs an action for each item.
GroupThis activity serves as a container for organizing and managing multiple related activities.
IfBranches the workflow based on a specified condition.
Receive SignalBlock the execution until a signal is received. Use in combination with 'Send Signal'.
Retry On ErrorExecutes a group of tasks with a retry mechanism, where all tasks are retried as a group if any of them fail during exec
Run WorkflowRuns a child workflow with the same configuration as the current one.
Send SignalSend a signal to a workflow. Use in combination with 'Wait For Signal'.
Set Run OutcomeRecord how this run went, beyond whether it crashed. Temporal only knows completed or failed, so a run that did its job
Timeout ExecutionStops the currently running execution if it exceeds a specified timeout, setting its status to either Canceled or Termin
Try/CatchHandles errors during workflow execution. It attempts to execute a block of actions and gracefully catches and processes
WatchdogMonitors a directory and its subdirectories for any new files with the specified extension. When a file is detected, it
WhileExecutes specified activities while the condition evaluates to true.
Workflow Custom NameReplace the automatically generated workflow name with a friendlier one