Flow Designer loop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2025 07:03 AM - edited 03-20-2025 11:52 PM
Hi Guys,
I am trying to achieved below logic from Flow designer , i have catalog for which i need to perform below execution logic
Step1.Create Task 1 if its state is incomplete < go for another task 2< if task 2 closed < create task 1 again <
if Task 1 approved ____create another task
if Task 1 reject _ go back to step 1.
i am unable to break look where?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2025 03:33 AM
@Aarushi1991 , in that case you can create a seperate subflow for the common tasks and call it wherever required.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2025 03:43 AM
Hi there,
You can achieve this logic in Flow Designer by using a combination of conditions, subflows, and loops. Here’s a high-level approach:
- Start Create Task 1.
- Wait for Task 1 state:
- If incomplete, create Task 2.
- Wait for Task 2 state:
- If closed, re-create Task 1.
- If Task 1 approved, create thenext task.
- If Task 1 rejected, loop back to Step 1 (Create Task 1 again).
You can use:
- If/Else conditions to check task states.
- Loop or Do Until actions for repeating Task 1 creation based on rejection.
- Wait for Condition to monitor task completion/approval/rejection.
Make sure to add exit conditions to avoid infinite loops.