You need to sign in to do that
Don't have an account?
Somasundaram Subramanian
how to prompt no approval condition
when the approval process is not fall in any condiiton when user submit the approval it submi and reject immediately ,
how to prompt user that no condtion falls and system should not submit the approval any idea?
how to prompt user that no condtion falls and system should not submit the approval any idea?
To prompt the user that no approval condition has been met, you could write a custom validation rule that checks the conditions of the approval process and returns an error message if none of the conditions are met. Here's an example:
Create a custom validation rule on the object associated with the approval process.
In the validation rule, use the Approval object's API to retrieve the conditions of the approval process.
Use an IF statement to check if any of the conditions have been met.
If none of the conditions have been met, return an error message to the user, indicating that the approval process cannot be submitted.
Here is an example of what the validation rule might look like:
I have IQ Quote object and the submit button is in Approval History , where do i write validation rule?