- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
We have flows working today that send out an email to the requestor and have a Wait for duration of time action for a period of 9 hours of sending emails. Then once they get a response, they close the task linked to that action which closes the Request/RITM when it's closed.
Now they want a "time out period" added to that flow logic. They want the emails to go out daily for 5 business days and if no response is received, they want the following "timed out" actions to occur:
1. Close the linked task as Closed Incomplete
2. Create a new task
3. After new task is Closed Complete, have the RITM/Request close as Closed Incomplete
They want to use this for catalog items that are issued to staff - like wireless headphones or keyboard/mouse, etc. Staff request them and then "forget" to pick them up. Meanwhile, the Service Desk pulls the items out of inventory - place in a pick up shelf - and it stays there until the item is picked up.
I know how to do the Wait for Duration of time to resend the email - just looking for the right action to do the "time out" (stop sending emails) and then do steps 1 - 3 above.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @terrieb ,
You can add here (as branch 3) and wait for the RITM state closed complete, i haven't tested it, please do
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
Have looked at using the "do the following until" Flow logic?
You could have it loop the waiting until some specific event happens, and if so skip the waiting and continue on.
Basically you would in the loop wait for an amount of time, then send the email, and increase a loop counter.
And you could have two exit conditions, either the loop counter reaches a max, or the process has moved on by someone picking up the goods.
Here's an example I used on another question, see if you get where I am going at, or ask for more detail if needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
This is what they are looking for - flow actions wise
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
It seems I understood your requirement.
Take a look at this updated suggestion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Let me try this methodology - will let you know if it works.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
How do you use the "Set Flow Variables" to do increase loop counter?
When I select that, this is what i get:
Never used this Flow Logic before - thanks!