Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Flow Designer 'Wait For Condition' can encounter a race condition leaving the flow stalled in the waiting state even when the condition is met - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Flow Designer 'Wait For Condition' can encounter a race condition leaving the flow stalled in the waiting state even when the condition is met
KB0858518

Flow Designer 'Wait For Condition' can encounter a race condition leaving the flow stalled in the waiting state even when the condition is met


5274 Views Last updated : Jul 12, 2023 public Copy Permalink
KB Summary by Now Assist

Description

'Wait For Condition' gets stuck waiting for the record status change even though the record has reached the required state. Also, the record watcher entry in the sys_rw_action table is intact.

Steps to Reproduce

1. Go to Flow Designer and create a flowE.g.: 
Name = "My Flow"
Trigger = Created
Table = Incident

2. Add a Wait For Condition action on the trigger recordE.g.: 
Conditions = State is In Progress

3. Publish the flow.

4. Create an incident record to trigger the flow.

5. On Flow Designer open the flow executions tab and verify that the flow is on waiting state for the Wait For Condition action.

6. Delete the record watchers for the flow execution:
- Go to list view of "sys_rw_action"
- Filter the list by columns:
Name = (starts with) flow.listener
Table = incident
Condition contains  the sys_id of the incident record created 
- Delete the 2 records found in this table

7. Go to the incident list view and change the State from "New" to "In Progress".

IMPORTANT: Steps 6 and 7 must be done in less that 5 minutes of the creation of the incident.

8. Wait for the flow execution to finish. This could take up to around 7 minutes. Observe the flow execution remains on state "Waiting" instead of finishing with state "Completed".

Workaround

This problem has been fixed. There is no workaround available. If you are able to upgrade, review the Fixed In section to determine the latest version with a permanent fix your instance can be upgraded to.


Related Problem: PRB1413462

Potentially Seen In

There is no data to report.

Fixed In

New York Patch 10
Orlando Patch 7
Paris Patch 1
Quebec

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.