End a flow that is awaiting timer in Flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2024 02:01 AM
Hi All,
I need to implement a logic to have a user cancel a workflow in flow designer that is awaiting a timer. Basically there is a timer that waits for 4 months. After the 4 month's, the flow will send out an automatic mail. The user would like to have the option to be able to stop this mail from being if needed. It looked like a straight forward an not so complex question but cannot seem to get this to work.
Thank you so much in advance for your support!
Kind regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2024 02:08 AM
HI @tomc1
You want to only cancel teh email or cancel the flow?
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2024 10:01 PM
Hi Atul,
Ideally the end user would like to manage this process. The best way would be a state change or a closure of a task but the WF seems not to be able to monitor other changes and only awaits the timer countdown.
Kind regards,
Tom C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2024 03:01 AM
Hi @tomc1
Agree. I doubt we have something OOTB which fulfil your requirement.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2024 03:50 AM
Hi,
Create a UI action which is visible only when the waiting flow is running(You can do this by creating a hidden field which would be updated when the flow is waiting).
In the UI action write a script that will close the waiting flow (https://www.servicenow.com/community/itsm-forum/cancel-running-flow-contexts/m-p/609487)
Regards,
Piyush Sain
