Write a Business rule to exclude assigned to and requested by from approvers

Pooja Khatri
Tera Contributor

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 ?

 

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@Pooja Khatri 

why not restrict this during sending approval?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

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 ?

 

 

Divya Rajasekar
Tera Contributor

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.