Write a Business rule to exclude assigned to and requested by from approvers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2023 02:44 AM
Hi All ,
I have a requirement , where when a customer raises a normal change request it goes for approval from the assignment group of the assigned to person
If the assigned to and the requested by who raised this request are same and are a part of the assignment group .. both the users should not get an approval email asking for approval .
How can I implement this scenario ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2023 03:09 AM
why not restrict this during sending approval?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2023 10:09 PM
Hi @Ankur Bawiskar - there is already a logic built and through that it is sending out multiple email approvals , so I am trying to customize my existing code .
Can you please help with the logic ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2023 05:15 AM
If its in workflow u can give if condition in the approval activity before pushing it
for example:
if(requested for!=assigned to){
answer.push(assignedto);
}
Other solution:
Check if you can give condition in the approval policies.