Issue with Do the following until checkbox variable lookup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2024 05:21 AM - edited ‎04-01-2024 10:18 AM
Hi Everyone. I'm having an issue with my "do the following until" loop. I have catalog item that gets requested from the service portal. The customer of the service portal would like to give the users a best view of progress tracking the ticket. There are some items that need to be handled outside of servicenow.
What I have done is create checkbox variables on the RITM and SCTASK so the customer can check the box off when they are complete with that step. I also have the stages setup after each do the following until loop so that the progress is tracked in the portal.
For whatever reason, the timer is firing but not seeing that the value is true. If I run the flow manually like through testing a RITM it works fine. I tried opening the context record but all I see if the state in waiting and the runtime keeps increasing. I tried searching around on the servicenow community site for troubleshooting steps and other possible solutions but none are working for me. I don't see a nudge option anywhere. I've tried calling the flow through a background script to force it but that didn't work either.
Here is what I see in the execution details
Any help or pointers would be appreicated please. Thank you!
EDIT -- I think I found the answer that I have to call the get catalog variables inside each do the following so that it sees the updated variables. If I do it outside of the loops it never sees that the values are updated. Is that the correct way I should be doing this or is there a more effienent way?