Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Not able to close incomplete the sctask in flow designer

Samyukta1
Tera Expert

Hi Everyone,

I have  created a subflow where it has 10 sctask created parallely using "Do the following in Pararllel", It is working as expected for " CLosed Complete" but If one sctask is marked as  "Closed Incomplete" then I want other Sctasks also to be marked as Closed Incomplete and RITM to Completed Stage. but it is not working. 

 

Can someone please help me?

Samyukta1_0-1709201056789.pngSamyukta1_1-1709201101238.png

 

3 REPLIES 3

Vaibhav_Nikam
Tera Guru

Hi @Samyukta1 
For the above scenario, you need to check the state of the tasks using the "switch" condition.

 

The flow will go as 

Switch1: if task = closed incomplete -> then update the state of all tasks as Closed incomplete(Using "Do the following in Parallel") -> update RITM to Completed.

Switch2: task = Closed Complete -> then update the state of all tasks as Closed Complete(Using "Do the following in Parallel")-> update RITM to Completed.



 


If my response finds helpful, please indicate its helpfulness by selecting Accept as Solution and Helpful.

Thanks,

Vaibhav Nikam

Hi @Vaibhav_Nikam ,

 

Can you please be more clear. Can you give me some example

Vaibhav_Nikam
Tera Guru

Hi @Samyukta1 ,
You can update your subflow as mentioned in the image. (I have taken one OOB item for E.g)

vaibhavnikam_0-1709207166726.png

 


If my response finds helpful, please indicate its helpfulness by selecting Accept as Solution and Helpful.

Thanks,

Vaibhav Nikam