flow - Task issue

akin9
Tera Contributor

Hello Experts,

 "customer order"  is created with under 3 "product order"  from third party system .

once received our created flow will trigger with two subflows for order tasks creation for each product orders meaning every time 3 order tasks will create once that closed then another 3 tasks will be created. and its working fine.

Requirement/Question.

1.Two subflows are interconnected so added Do parellel condition its working fine.

I want to know  we need to add any wait condition for both subflows complete??

2. After subflows completed we want to create single "order task" but its creating 

again 3 order tasks 

how to achieve this?

 

Flow created for -- Product order table "sn_ind_tmt_orm_product_order".

 

akin9_0-1732980216392.png

akin9_1-1732980303541.png

 

Please support on this!

 

 

8 REPLIES 8

Runjay Patel
Giga Sage

Hi @akin9 ,

 

looks like your flow is okay, how it is again creating three task, is sub workflow executing again ? Check execution history. Or have you written activity which creating 3 task again.

Hi @Runjay Patel 

Thank you for the reply!

1.Do you mean I Hope No need any wait condition!

2.No subflows are executing again 

3.We have added seperate Create task action only its execiting but twice.

NOTE:1st subflow is belongs to "X" Product offering based on it will create two task.

  2nd subflow is belongs to "y" Product offering based on this  it will create single task.

 

akin9_0-1733129068743.png

 

 

Okay, then you need to put wait condition to wait till both sub flow completion.

Okay sure will check