- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2022 04:48 PM
Hi,
Customer requirement is that same user should not be able to approve change request again or I can say in 2nd level approval.
I had gone through community and found out post https://servicenowguru.com/scripting/business-rules-scripting/prevent-redundant-approval-requests-servicenow/
I tried this with one more condition as current.getTableName('change_request') as I need it to to run for change_request but did not work.
Please help me out!!
Solved! Go to Solution.
- Labels:
-
Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2022 11:26 PM
Hi,
your requirement is to make it work only for change_request table and hence it would only run for those approvals
Won't impact any other table
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2022 11:26 PM
Hi,
your requirement is to make it work only for change_request table and hence it would only run for those approvals
Won't impact any other table
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2022 11:29 PM
Thanks a lot!! I have posted one more query.. can you please look into that too?
https://community.servicenow.com/community?id=community_question&sys_id=061148f9db6b85d05205e6be139619b5
If incident is unassigned to a group then only caller of incident see cancel choice in state but if incident is assigned to a group then only group member can see cancel choice in state.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2022 03:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2023 05:29 AM
Hi Ankur,
Good day and I hope you are well.
I am looking for similar function but both the BR does not seem to have effect. Same approver is able to approve twice, because the user is a member of the 2 approval groups.
This function seems to be the best but sadly it does not work.
Regards,
Chin4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2023 05:30 AM
I tried to use Approval Coordinator but it only hides the user for 2nd approval. If the user approves, both the user's Request were also approved.