I have requirement where an user should not be able to submit a master record for approval until all the related child records are approved.
Submit for approval button on approval history related list cannot be removed. So, this is not an option.
The approach I was thinking is to have a custom field on the master record which specifies whether all child records are approved and add that field in the entry criteria. S0, the record won't be submitted as it does not satisfy the entry criteria. But I need to inform users why they are not able to submit the record. So, I want to customize the error message as well. I have done some search and could not find anything.
Can anyone please let me know if this is possible or suggest any workaround for the above scenario?