Flow Designer Do in Parallel If value = True

Jeannette2
Tera Guru

Hi,

 

I have created my Flow as detailed below with a Do in Parallel Flow Logic with If conditions are true then create the tasks.  This means that 1, 2 or all 3 tasks could be created.  After the Do in Parallel I have another If Flow Logic to check if the tasks are no longer Active (whatever the state) and then to update the Record.  This works if all 3 task are created but not if only 1 or 2 tasks are created.  Can anyone help with what I should be doing please?

Jeannette2_0-1706005741288.png

 

5 REPLIES 5

Dr Atul G- LNG
Tera Patron
Tera Patron

I think, it is placement of If loop only. As system go in first action - Parrel one, so not checkin 1 and 2 if. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Peter Bodelier
Giga Sage

Hi @Jeannette2 

 

One option could be to include the if query you have before creating the tasks here as well.

 

So something like:

Condition 1 8.active is false OR trigger.assignment_group IS NOT Server Team

Condition 2 11.active is false OR trigger.assignment_group IS NOT Operational Security

 

etc.

 

Hope that makes sense.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

Is there a way to check if the Task was created or not, ie look at the core action to see if it evaluated to true or false?

Hi @Jeannette2,

 

You can only access the actions data if they have run, so I don't see a possibility to do this directly.

You could however create 3 flow variables ie Task 1, Task 2, Task 3 as True/False types.

Set them default to false, and update to true when a task is created. Then you can evaluate these variables, instead of having to duplicate your other if statement.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.