The CreatorCon Call for Content is officially open! Get started here.

Flow Designer - Do the following until loop in Sub Flow is not ending

PavelP
Mega Sage

Hello,

I encountered an issue with Flow, I managed to get a functionality working within the loop, but when the record is closed - and the condition in the "Do following until" loop should be fulfilled - the sub-flow still sits in the "Waiting" state.

PavelP_0-1721980113425.png

 

Im not sure how to troubleshoot this since the configuration is being set as expected. The only specific is its ran in subflow, but the record in the input is working with other conditions just fine.

Any suggestions?
Thanks

Pavel

1 ACCEPTED SOLUTION

Thanks,

I ended up using something similar - put in a Parallel line with a "Wait for" condition, that also checked the states in case the case is closed - ending the flow if fulfilled.

PavelP_0-1722262860943.png

Thanks a lot for all your support 🙂

 

View solution in original post

11 REPLIES 11

You can stop the loop by adding if statements with exit loop.

https://docs.servicenow.com/bundle/washingtondc-build-workflows/page/administer/flow-designer/refere...

 


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

Thanks,

I ended up using something similar - put in a Parallel line with a "Wait for" condition, that also checked the states in case the case is closed - ending the flow if fulfilled.

PavelP_0-1722262860943.png

Thanks a lot for all your support 🙂