We have a requirement, in which our client has a form with multiple workflow approval steps.
What we need- on the second step, the field needs to be mandatory for the approver to fill, before he can approve the record.
What we have done - on the second step, the field becomes mandatory meaning the user operations like save are halted unless the mandatory field is filled.
Problem: The workflow approval is independent of the fact that the field is mandatory. So even if that mandatory field is empty, the user can approve the record and proceed with the next step in the workflow.
Can we throw an error when the user tries to approve the record if the field is empty?
Any suggestions for the same would be really helpful.