function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Lukesh KarmoreLukesh Karmore 

In 2 level of approval process, I need to restrict 2nd level on certain condition is there any way ??

I  have  2 levels of approval process ,Team 1 And Team 2. I need to restrict Team 2, Team 2 not able to approve the Opportunity  on certain condition . I mention criteria in  2 level  of approval process but it not works. is there any another way to restrict it.
can we use code to restrict it.
Thank You
mukesh guptamukesh gupta
Hi Lukesh,

For Example you can follow :-

A user field to the opportunity and when the approval is required, I can have them enter the approver in that field.  That way I can do a validation on that field so they won't be allowed to select themselves or anyone in an unapproved profile.

if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh