How to prevent a delegate from approving their own request

JHughes62
Tera Expert

Hi Community,

 

When a user is delegated, they then have the possibility to approve their own request 😞 and we dont want them to have this possibility. 

We have tried to create a before insert and update business rule, where we glide to the sys_user_delegate table to get the user listed in the delegate field to then compare this to the current.sysapproval.opened_by, so that we can then abort the action and show an info message advising the delegate they cannot approve their own request.

 

However it isn't working.

I am pretty new to ServiceNow and development, can anybody please advise or provide support, or if possible provide a script if you have developed this before?

It would be greatly appreciated!

1 REPLY 1

Community Alums
Not applicable