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
yoginimane89yoginimane89 

Approval Process

How can we prevent the owner of record from being Approve or Reject the submitted record?

 

Thanks.

 

Best Answer chosen by Admin (Salesforce Developers) 
JitendraJitendra

Hi,

 

You can do following implementation.

 

  1. Create a Custom field of type user named as "Next Approver".
  2. While setting up approval process tell to pick next approver value from this field.
  3. In Entry criteria ensure that this fiel is not blank.
  4. Write a validation rule on this field that record creator cannot be same as field "Next Approver"

 

I hope this will help you.

All Answers

JitendraJitendra

Him,

 

While creating the Approval process we get option to select the Next approver manually, From field or Users Manager.

 

If you are the System Admin then u can create record, submit for approval and approve.

 

However in your case, you can choose to select from field. And write Validation rule that creator cannot be set as approver in that field.

 

There are lots of way !!!

yoginimane89yoginimane89

Hi Jitendra,

 

Thanks for reply.

 

Can you tell in brief that how to write validation rule that creator cannot be set as approver in that field?

 

Thanks.

JitendraJitendra

Hi,

 

You can do following implementation.

 

  1. Create a Custom field of type user named as "Next Approver".
  2. While setting up approval process tell to pick next approver value from this field.
  3. In Entry criteria ensure that this fiel is not blank.
  4. Write a validation rule on this field that record creator cannot be same as field "Next Approver"

 

I hope this will help you.

This was selected as the best answer
veerusfdcveerusfdc

how to write validation rule for that Query

please tell me