0

My partners have an approval process to submit when they want to approve an oppty.

I need them now to set a checkbox as True, before doing that.

I don't want to use a trigger, as I think a validation rule is a more correct approach here.

I can't find any field where I can check for that during the Validation rule.

Any ideas?

1 Answer 1

2

Unless you use a custom 'Submit for Approval' button, you can't validate prior to submitting for approval. What you can do is add that the checkbox must be true in the Entry criteria for the approval process. If the checkbox is not checked they will receive an error. I fully admit this error is not ideal as it is extremely generic and really doesn;t tell th user what they need to do to correct. It will though, prevent the user from submitting it for approval.

enter image description here

If you still want something more customized you will need to either use Visualforce for a custom page to submit for approval, or you can try to write your own custom JS button to submit for approval that alerts the user they must check the checkbox before submitting for approval,

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .