Avatar

Level 2

Hi Vipul thanks for your reply,

I understand how approvals work generally but in this case I want to add a custom function using JavaScript or maybe in a typology whereby if a user creates an email then it should disable them to approve their own email and it must be approved by someone else.

Say for example there are 2 users both are admins so they both have approval rights. I want them both to be able to approve each other's emails but not their own. Is there a way I can say in a typology or something: if created by is = to person approving then don't approve or don't send out the email? So the email can only be sent out or approved if the person approving it is not = to the person who created it.

Hope this makes sense.

Thanks

Yusuf