Do not insert approval record if user has to approve two times in Change Request

Ashwin Perumal1
Tera Contributor

Hello All,

I have a change approval flow where I have Assignment Group Manager approval at assess and service owner approval at authorize state. Consider there comes a scenario where Ass Grp manager and service owner person is same . So in that case the same person has two approve the same change request two times. 

So in above scenario i want to skip (not show the approval record in approvers tab) when grp and manager and service owner are same persons. I understand like we need to write Br to restrict insertion of approval record but I am unable to get the logic of how to check whether the same person has already approved or not .Can anyone help me on the script to restrict insertion of approval record.

Thanks in advance!!!.

1 REPLY 1

Dr Atul G- LNG
Tera Patron
Tera Patron

HI @Ashwin Perumal1 

 

This wil be more challenging , instead of this, put restriction that a user cant   approve more than 2 times. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************