- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2024 12:49 AM
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.
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2024 07:22 AM
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.
Thanks a lot for all your support 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2024 06:47 AM
You can stop the loop by adding if statements with exit loop.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2024 07:22 AM
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.
Thanks a lot for all your support 🙂