- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
I'm working on RITM approvals and need to modify the default group approval behavior. I have a custom field 'approvers' (List of Users type) on the Group table that contains specific users who should receive approval requests.
My requirements:
- Use Group Approval (not User Approval) to preserve which groups were requested
- Only users in the custom 'approvers' field should get approval requests, not all group members
- Don't want to manually extract user sys_ids and use individual user approvals
Current challenge:
When I use standard group approval, it sends requests to ALL active group members, but I only want the subset defined in my custom 'approvers' field.
I've considered scripted group approvals but want to ensure:
· It still shows as a group approval in the system
· The group relationship is maintained for reporting
· Only my specified approvers receive the request
Has anyone implemented something similar? What's the best approach - workflow script, business rule, or some other method that maintains the group approval context while filtering the actual approvers?
Solved! Go to Solution.
- Labels:
-
Flow Designer
-
Workflow Automation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
got it.
then do this
-> let the approval go to that group using OOTB Ask for Approval
-> use before insert business rule on sysapproval_approver table and see if this is generated due to Group approval i.e. Group field not empty
-> then grab the custom list field and see if the current approver is allowed or not
-> if not then use setAbortAction(true) and record won't be inserted
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
how will you determine to whom approval should go after Group approval creation?
How are you determining this?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
This is why we created a custom field within the Group.
It contains the list of users who should receive the approval requests.
Please refer to the screenshots below for better understanding.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
got it.
then do this
-> let the approval go to that group using OOTB Ask for Approval
-> use before insert business rule on sysapproval_approver table and see if this is generated due to Group approval i.e. Group field not empty
-> then grab the custom list field and see if the current approver is allowed or not
-> if not then use setAbortAction(true) and record won't be inserted
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
@Ankur Bawiskar
The issue is that when I generate group approvals, the system creates records in the sysapproval_approver table for each user in the group, but the Group field remains empty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
can you share how your Ask for Approval is configured?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
