Condition depends on the workflow action

Hello all

I want to force users to insert some mandatory data or comments when approve the material request, so my question about how to show new pop screen when user click approve to record some data and then proceed with the action “Approve”?

reasonable requirement, typically when reject the reason should be mandatory.

To do this, you’d need to catch the workflow change event in a client script, halt the execution with a promise that throws up a dialog, then proceed with execution only after the appropriate data has been given.