The Wait For Condition action in Flow Designer holds a flow at one step until fields on a record match your conditions, and those conditions must use fields on that record’s own table. The step also stops waiting when a timeout expires or when the record is deleted, and the flow then moves on.
What the action does and who can add it
The action is a core action in Workflow Studio. Users with the flow_designer or admin role can add it to a flow and configure it. It keeps a flow paused until the values on one record satisfy a rule you define. A plain delay counts down time and ignores data. This action watches data, so a flow can wait for a state change, such as an incident moving to Closed, and then continue.
That difference drives the design work. You decide which record the flow watches, which field change should resume it, and what should happen if that change does not arrive.
Inputs you configure on the step
| Input | Type | What it controls |
|---|---|---|
| Record | Record | The record whose field values are monitored. It can come from a flow trigger, a subflow input, or an earlier step’s output. |
| Table | Read-only value set from the selected record’s table | It shows which table the step watches. |
| Conditions | Conditions | The field values that resume the flow, for example a State that is Closed. |
| Enable Timeout | True or False | Whether the wait has a time limit. A Duration must be set before the timeout takes effect. |
| Duration | Hours, minutes and seconds | The length of the timeout. If it is left empty, the flow does not wait. |
| Schedule | Choice | An optional work schedule used to calculate when the timeout ends. |
| State | Choice (output) | The completion status. 0 means success and 1 means error. |
If the step receives the wrong record, the conditions are checked against the wrong table. The Table value is read-only and follows the record you pass in.
The State output appears in the Data panel. Later steps can use it to branch on whether the wait finished normally or ended in error.
Writing conditions the action can evaluate
Conditions are the strictest part of the action. Each one must follow these rules.
- It must reference a field on the record’s own table.
- It must check a change in a field value. It cannot check the passing of a period of time.
- It cannot dot-walk to another table, such as reaching a field on a related user record through a reference field.
- It cannot rely on a catalog item variable belonging to a related record.
- At least one condition is required before the flow can resume.
A valid example is an incident record passed into a subflow, with a condition that waits for the State field on the Incident table to change to Closed. The flow pauses until that change happens and then moves to the next step.
If the condition needs to vary from run to run, define an input of type Conditions on the flow, then drag its data pill into the Conditions field. The condition then takes its value from the input at run time.
The action evaluates conditions only when a field on the selected record changes. The field you choose therefore matters as much as the value you compare it against. To watch a related record, look it up in an earlier step and pass it in as the Record input.
Setting a timeout with Duration and Schedule
Enable Timeout is a True or False choice that limits how long the flow waits. A Duration has to be set, because the timeout does not activate without one. The Duration is entered in hours, minutes and seconds. If it is left empty, the flow does not wait.
If the condition is not met before the timeout expires, the action is skipped and the flow moves to the next item. The flow keeps going rather than halting, so the step after the wait should check what actually happened instead of assuming the condition was met.
The Schedule input changes how time is counted. It works out the timeout end date against a work schedule. If the Schedule is left empty, the timeout runs without a schedule.
Whether the pause should respect working hours is the deciding question. If it should, set a schedule. If the pause is a fixed length that ignores the calendar, a schedule is the wrong tool, and the Wait for a duration flow logic is the better fit.
How the flow pauses and resumes
A wait step follows a short, predictable sequence.
- The flow reaches the step and the record is passed in through the Record input.
- The flow pauses. Conditions are evaluated when a field on the selected record changes.
- If a change meets the conditions, the flow resumes at the next step.
- If Enable Timeout is set and the Duration runs out first, the action is skipped and the flow moves to the next item.
- If the record is deleted while the flow waits, the flow stops waiting and continues running.
A paused flow can lose the record it depends on, and the action ends the wait in that case. If a flow does not behave as described here, the practical troubleshooting guide is the next place to look. The State output then tells later steps how the wait ended, with 0 for success and 1 for error.
Conditions that cannot be met
Two patterns leave a flow waiting with no way out, and both are worth catching at design time. For a wider list of setup errors, see common Flow Designer mistakes and how to avoid them.
The first is a time-based condition. A condition relative to the Created date of an incident cannot be met, so the action is not performed. Rebuild the step around a field value change, or replace the wait with a fixed-length pause.
The second is a resume condition that can no longer occur. One case is an incident that is already closed while a flow still waits for it to close. Two controls address this. Add End Flow logic so a flow stops when a stop condition is reached, and cancel waiting flows whose resume condition can no longer happen.
Waiting flows also use more system resources than flows that start from a record trigger.
Choosing between a record trigger, a fixed pause and this action
Three tools overlap here, and picking the right one avoids rework.
| What you need | Use |
|---|---|
| Run only when a record meets conditions, starting at the moment of the change | A record trigger with trigger conditions |
| Pause for a set length of time | The Wait for a duration flow logic |
| Pause a running flow until a record field changes to a value | The Wait For Condition action |
A record trigger is the lighter choice when the flow should begin only after a change. The Wait For Condition action suits a flow that has already started and must hold until a later change on the same record. A fixed pause belongs in the duration-based flow logic, because this action is built around field changes, not the clock.
Tables the action does not support
The action does not support many system and administrative tables. The unsupported categories are audit, email, events, import sets, JRobin, logs, MID Server, Performance Analytics, Record Watcher, Reporting, scheduled jobs, SSO, system cache, system clone, system dictionary, system events, system fields, system performance, text index, update sets, upgrades, usage analytics, users and workflow.
Those categories include the audit table, the event table, the log entry table, the update set table and the workflow execution table. The unsupported list names each table within its category. Before you build the step, compare the table you plan to watch against these categories. A business table such as Incident falls outside them.
Frequently asked questions
Can the action wait for a field on a related record?
No. A condition cannot dot-walk to another table, and it cannot rely on a catalog variable from a related record. Instead, pass the related record in as the Record input and set the condition on a field in that record’s own table.
What happens if the timeout ends before the condition is met?
The action is skipped and the flow moves to the next item. The flow does not keep waiting, so the step after the wait should handle the case where the condition did not occur.
Can I make the wait end after a fixed number of minutes?
Use the Wait for a duration flow logic for a fixed pause. Enable Timeout limits a condition-based wait, but it is not a replacement for a timed pause.
Why did my wait not resume when I used a date-based condition?
A condition relative to a date such as the Created date cannot be met, so the action is not performed. Replace it with a check on a field value change, or use a duration-based pause if the logic is really about elapsed time.
Do I need a schedule on the timeout?
No. The Schedule input is optional. When it is left empty, the timeout runs without a schedule. Set one when the wait should count working time.
Three questions shape a wait design: which record, which field change, and what happens if that change does not arrive. For broader habits that keep flows maintainable, see Flow Designer best practices.