Restrict "Requested By" User from Being Selected as Manual Approver on Change Form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi Team,
We have an additional requirement to enhance this restriction:
- The Requested By user (the person who is raising the change) should not be allowed to select themselves as a Manual Approver.
In other words, when a user raises a change request, they should be prevented from adding themselves in the Manual Approver field.
Could anyone suggest the best way to implement this restriction?
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited yesterday
Hi @Sriram34
To restrict the Requested By user from selecting themselves in a List Collector Manual Approver field, update the field's Reference Qualifier to filter out the user.
Modify the field's properties using the following advanced reference qualifier:
javascript: "sys_id!=" + current.requested_by //replace with your field name
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hello @Sriram34
If the Manual Approver field references sys_user, you can use an Advanced Reference Qualifier to exclude the requester from the available selections.
Example:
javascript:'active=true^sys_id!=' + current.requested_by
This assumes the Change Request record contains a requested_by field and that the qualifier is being evaluated in a context where current is available.
If you already have a qualifier that restricts users to those with the approver_user role, simply append the exclusion condition:
...^sys_id!=<requested_by_user_sys_id>
Also consider adding a server-side Business Rule to prevent the requester from being added as a Manual Approver through imports, scripts, or other bypass methods.
Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards,
Bharat chavan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
something like this in the advance reference qualifier
javascript: 'active=true^sys_idNOT IN' + current.requested_by.toString();
💡 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 || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
43m ago
Hi @Ankur Bawiskar @BharatC @Tanushree Maiti ,
Thanks for the replies.