We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Flow Designer loop

Aarushi1991
Tera Contributor

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?

6 REPLIES 6

@Aarushi1991 , in that case you can create a seperate subflow for the common tasks and call it wherever required.

soniabraga00
Kilo Contributor

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:

  1. Start   Create Task 1.
  2. Wait for Task 1 state:
    • If incomplete, create Task 2.
  3. Wait for Task 2 state:
    • If closed, re-create Task 1.
  4. If Task 1 approved, create thenext task.
  5. 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.