Group Approvals still triggering even though we cancel RITM using Cancel RITM button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2025 03:10 AM
Hi
I have 3 group approvals (It's a workflow) after submitting the request am approving the 1st Group approval and 2nd group approval is triggering and then I cancelled the RITM using the button Cancel RITM after this whats happening is 2nd level group approval is set to Non longer required which was working as expected but still it's triggering the 3rd level Group approval which was in Requested state. How can I stop to trigger this 3rd Group approval ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2025 04:35 AM
So now since this is a custom UI action, the script include to cancel the approval is also custom.
Please discuss with the developer who worked on this and discuss with your customer what's required and make necessary changes.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2025 04:19 AM
Hi,
This really comes down to how you're cancelling your RITM's. If you are cancelling the RITM by replicating the "Cancel Request" UI action in the Request form, then most likely you will be triggering a Business Rule(below) to cancel the parent Request, RITM and then the workflow also.
If the group approvals are being triggered from the workflow then there is a good chance that your workflow is not being properly cancelled.
Please review the below Business Rule and see if it is getting triggered when you Cancel the RITM.
A good way of checking this is to :
1. Check if the related Request is either Closed OR Cancelled.
2. The workflow context should be cancelled.
3. Which ever activity you were on in the "Show Workflow" related link should turn Orange in color and say cancelled.
If the above things are not happening, then the workflow is not being properly cancelled and you need to review the conditions of the Business Rule and fix it.
Feel free to respond back with your findings and I can further guide you in resolving that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2025 04:20 AM
Business Rule URL:
https://<your-instance>.service-now.com/sys_script.do?sys_id=062422410f2100108af26b198b767eb0