Ankur Bawiskar
Tera Patron
Options
- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
yesterday
Have you ever encountered a customer requirement where you need to run a loop in a Flow for n number of times? Here’s an easy way to achieve this using the “Do the Following Until” logic + Flow Variables in Flow Designer:
-
Create a Flow Variable
- Type: Integer
- Initialize it with value 0 using the “Set Flow Variables” flow logic.
-
Add “Do the Following Until” Logic
Inside this block:
a) Add your required flow actions.
b) Use “Set Flow Variables” again to increment the count by 1 using script . -
Set the Condition
- Until count = 3 (or any number you need).
This way, your flow will execute the actions 3 times. Try this approach and enhance your flows to handle looping requirements efficiently!
Here is the working approach
Labels:
- 37 Views
