You need to sign in to do that
Don't have an account?
Rajesh-SFDC
Error Message Required Before Submiting for Approval
Hi everybody,
Is there any way to put custom error message based on some field criteria before submitting for Approval .
Let's say i have field A if it is blank and when i submit for approval then i want custome error message to be dislayed !
Thanks in advance !
Is there any way to put custom error message based on some field criteria before submitting for Approval .
Let's say i have field A if it is blank and when i submit for approval then i want custome error message to be dislayed !
Thanks in advance !
Can you give me snips of the code how to add on submit approval button and it will not affect the existing functionality
Regards,
Rajesh
Refer https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_process_example.htm to get the syntax for submitting a record to approval process using apex