Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

How to understand this Flow Stage ?

Supriya25
Tera Guru

Hi All,

Kindly help me to understand the flow designer 

Supriya25_3-1776801695964.png

 

Supriya25_1-1776801552258.png

Supriya25_2-1776801566239.png

 


which  Products records contains Incident Product user name , with those product details Incident tasks to be created.
at stage 5 we are creating Incident TASK records successfully.    

 

Supriya25_4-1776802443683.png



Concern: Incident TASK successfully created with exact matching Product details. in that case in flow execution stage 5 should be Executed/Completed  right ? But why 6,7 showing as Executed/Completed ?

Supriya25_5-1776802527261.png

 

1 REPLY 1

Vaibhav Chouhan
Tera Guru

Yeah this is just because you are looking at one specific loop iteration where the condition didn’t match.

In a For Each loop, every item runs through the same steps. If the condition is not met for that item, the flow skips the Incident Task creation step and moves ahead, which is why you are seeing stages 6 and 7 as completed.

Only the iteration where the product actually matches your condition will execute stage 5 and create the Incident Task. If you switch the iteration in the execution details, you should find one where stage 5 is executed and the task is created.