Flow execution details are the run records that show a flow’s states, durations and values. Flow Administration settings decide how much detail gets recorded, how long it stays, and which background flows run first. Reporting is off by default, so details appear for test runs until an administrator turns it on.
Where the Flow Administration controls sit
The settings in this guide live in the Flow Administration module under Process Automation. Today’s Executions and Active flows help you watch runs, with Active flows listing records in the Waiting state. Execution setting records, which override reporting for individual flows, subflows and actions, are kept in the same module. Properties holds the system properties that govern flow processing. The Flow Designer hub covers the wider set of Flow Designer guides.
Choosing a reporting level
Reporting decides what an execution details record contains. Each level adds detail on top of the last.
| Level | What it generates | Typical use |
|---|---|---|
| Off | Nothing during normal runs. A test run still produces Trace-level details. | The default |
| Basic | Runtime states and durations, plus configuration and runtime values for flow triggers, subflow inputs and subflow outputs | Checking timing and states |
| Full | Configuration and runtime values for flow, subflow and action runs, including input and output values and the steps of custom actions | Debugging a specific problem |
| Trace | Configuration and runtime values for each step, including input and output values | Testing and support work |
To turn reporting on for one flow, open it in Workflow Studio, choose Edit flow (or Edit subflow for a subflow), open the More actions menu, select the reporting settings, pick a value from the Reporting Level list, and select Update. Individual items need the flow_operator or admin role. For the logs that custom actions write during a run, see custom actions, error handling and logs.
To turn reporting on for all items the flow engine runs, set the system property named Level of reporting data generated by the flow engine, found under Process Automation, then Flow Administration, then Properties. Its underlying name is com.snc.process_flow.reporting.level. Changing it needs the flow_designer, action_designer or admin role.
Full reporting stores details for each run and uses memory and instance resources while doing so. Activate and configure reporting on a non-production test instance first. The testing and acceptance checklist sets out a wider set of checks to run before a change goes live. A test of a flow or action generates Trace-level details even when reporting is off, so a test shows you what a record will contain before you change anything.
Overriding reporting for individual items
An execution setting record overrides the reporting system properties for one flow, subflow or action. The record lives in the table sys_flow_execution_setting. A common pattern is to leave the system-wide level at Off and create records for the items under investigation. Each record holds five fields.
| Field | What it controls |
|---|---|
| Flow/SubFlow/Action | The item the settings apply to |
| Report all iterations | Whether details keep each loop iteration that ran. When off, the first and last iterations are kept. |
| Reporting | The reporting level for that item |
| Logging | The threshold for flow engine messages written to the flow engine log table |
| Flow Priority | The run priority for background runs. Hidden by default until added to the list and form configuration. |
A parent’s record reaches downward. An action or subflow that runs inside a parent flow uses the parent’s settings record. Loops need care. Reporting each iteration uses more memory as the loop count grows, so leave that option off unless the loop is the target of the investigation. When the investigation ends, turn reporting back off or delete the record.
Reading the execution details
Generated details appear on the Operations tab of Workflow Studio. Each record shows the flow state, a statistics panel for each trigger and action, and links to related records. Six states can appear. For the wider concept of a flow that waits for a condition, see the wait for condition guide.
| State | Meaning |
|---|---|
| Completed | The flow ran all of its actions successfully |
| Cancelled | The run exceeded the flow timeout, or someone cancelled it manually |
| Waiting | Paused on an action that waits for a condition. A Cancel Flow action appears. |
| Paused | The flow paused so higher-priority flows could run, or during a graceful node shutdown |
| Presumed Interrupted | The run has been active over 15 minutes without a valid transaction ID on its node, or over eight hours on another node |
| Error | The flow stopped with an error. A Go to error action appears in the header. |
Timing matters when you read these records. A flow that runs while reporting is off gains no details later, even after the level changes. A flow that ran while reporting was on keeps its details when the level changes afterward. The reporting level has no effect on context records or log records.
Open Flow lets you make changes and publish a new instance, and those changes leave the active flow untouched. Open Context Record shows the state, run duration and log entries. The calling source shows what started the run, such as a test, a trigger or a script. Run duration is measured in milliseconds. From the Washington DC release, it is the total time to execute an item, including event queue time, ECC queue time, event processing, the flow engine and MID Server communication. When a failed run needs a wider diagnosis, the troubleshooting guide walks through the same records from a different angle.
How long execution data is kept
Retention is handled by table cleaner records, and each table has its own period. Once a record passes its period, the system deletes it if it is in a completed state, and error or cancelled records follow the longer period in the table.
| Table | Default retention | What it holds |
|---|---|---|
| sys_flow_context | 2 weeks for completed flows, 6 weeks for error or cancelled flows | Parent record for each run, with its state |
| sys_flow_context_chunk_archive | 2 weeks completed, 6 weeks error or cancelled | Runtime data for flows that have stopped |
| sys_flow_report_doc | Removed when its parent context record is removed | References to reporting data |
| sys_flow_log | 28 days, or at table rotation, whichever comes first | Flow engine log entries |
| sys_flow_plan_context_binding | 12 months after creation | Identifiers for the triggers that started a run |
Do not change the chunk tables for active runs, sys_flow_context_chunk and sys_flow_report_doc_chunk.
Two cautions follow from these periods. Raising retention for flow context records, or deactivating retention, can hurt instance performance and affect newer flow features. Removing a binding record also has a consequence. A matching trigger then creates a new identifier, so a run once flow can run again.
When retention has removed the data, the flow report shows a message and action states are unavailable. Removed data cannot be rebuilt from inside the flow report. Recovery depends on an instance backup, so the practical protection is to review retention periods while the window for a run is still open.
Setting flow priority for background flows
Priority applies to background flows, which run from the next free worker thread. A foreground flow runs in the current thread and ignores priority. By default, background flows can use up to half the worker threads, and a flow waits in the queue when none is free. The values are High, Medium and Low, and Medium is the default.
Priority controls the order in which threads take flows from the queue. Threads run several higher-priority flows before a lower one, so low-priority flows still get their turn during a busy period. A flow resets to Medium in two situations. It loses its value when it waits in the queue for over one minute and is delegated to another node, and it loses its value when it pauses. A flow that starts at High and then pauses on a duration wait resumes at Medium.
Automatic pausing protects high-priority work. When a low-priority flow has run for more than two minutes, the system checks whether a higher-priority flow ran in the last five minutes. If none did and at least 100 high-priority flows are waiting in the event queue, the low-priority flow is paused. A paused flow keeps its context and returns to the queue. The property com.glide.hub.pause_low_priority_flows_enabled turns this behavior off.
If all flows are set to High, none of them waits behind a lower one, and the setting stops doing anything useful. Give High to flows with high business value that run rarely and finish quickly, since a long high-priority flow holds a worker thread. Give Low to high-volume flows that are not time-sensitive, and keep Medium for flows with some urgency. The Flow Designer best practices page covers the wider habits around these choices.
Access roles for execution details
Three roles control who sees execution details. The flow_operator role lets a user view details, dashboards and logs, but not create, change or test flows. The fd_read_operations role shows basic details, meaning state and duration. The fd_read_operations_all role shows whatever the reporting level generates, and it includes fd_read_operations.
Configuration and runtime values, including record values, appear to users with fd_read_operations_all. Read-only roles conflict with write roles, so avoid giving one user both. A flow that runs as System needs the viewer to hold the admin role before its details open. The security and access design page covers the wider plan.
Frequently asked questions
Does changing the reporting level affect earlier runs?
No. A run made while reporting was off has no execution details, even after the level changes. A run made while reporting was on keeps its details when the level changes later.
Which reporting level suits a production instance?
Keep the system-wide level at Off. Use item-level records during troubleshooting, and test on a non-production instance first.
Why can a user see state and duration but not record values?
Record values appear to users holding fd_read_operations_all. Users with fd_read_operations see the state and duration of a run.
Why did older execution details disappear?
Retention removed them. Completed flow context records are kept for two weeks and error or cancelled ones for six weeks. Flow log entries are removed after 28 days or at table rotation, whichever comes first.