Is it possible to restrict request submitter who is part of approval group to not approve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2023 12:32 AM
I have a requirement where they want the submitter who is part of that request approval group to not to approve the request.
Please let me know if this can be achieved.
- Labels:
-
Architect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2023 01:43 AM
Hello User662578,
How are the approvals being created? I mean, you can use a workflow or flow for this. I think you'll need to script for achieving this. If you go deeper in that step you will be able to edit and then modify, the table of approval is sysapproval_approver so you can, in that step, insert/edit any record, before creating approvals check if the requestor belongs to approval group, and then remove their approval.
Other way from my point of view the easiest one, you can based the approval with the condition that all members in the group must approve. Then the user will be able to autoapprove their request but the rest of approval will be required also (check this: https://docs.servicenow.com/en-US/bundle/utah-servicenow-platform/page/administer/workflow-activitie...)
Also you can create a business on after over approvals table, for checking the approvals created and then only take in consideration all without the requestor's one and remove it. But this will need scripting.
☆ Community Rising Star 22, 23 & 24 ☆
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2023 01:56 AM
Thanks Adrian.