Condition depends on the workflow action

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.

Related: