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.
Can we run a loop for 3 times in Flow Designer? - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Can we run a loop for 3 times in Flow Designer?
KB0817612

Can we run a loop for 3 times in Flow Designer?


3091 Views Last updated : Apr 8, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

  • There's a flow designer where I want to run a loop for three times and for that I have used "Do the following until" flow logic and I have created a iteration flag before this loop, now I want when this flag count will be 3 then this loop will end, Now at node this flag is getting updated by one only once, In 2nd execution its not updating the updated flag value so this loop is not getting end. Is there any way I can achieve this or I can fetch the execution count? 

Release

  • NY Patch 4 HF 1a

Cause

  • This isn't currently possible in flow designer without doing a database operation.

Resolution

  • We're working on a feature for flow variables (similar to the workflow scratchpad) which would allow you to do what you're trying to do.

 


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.