Need to iterate each catalog task of the RITM using Flow designer

anvitha ash
Tera Contributor

Hello,

How to achieve this 

 

Let's say I have a RITM000001, now I need to iterate through all the catalog task associated with the RITM000001, and if any catalog task is open then I need to wait until all the tasks goes in complete States 

If all the catalog tasks associated with the RITM000001are in closed States I need to close the RITM state 

 

Thanks in advance 🙂 

6 REPLIES 6

Than why is there a need to watch for Catalog Tasks?
One can just check the "Wait" option on the Catalog Task activity.

anvitha ash
Tera Contributor

@-O- 

The requirement is different but thanks 

 

I got the solution, im doing a look up records to sc_task table with the RITM number and if count is 0 then updating the RITM