Hello All,
I have a form for Assign flexi task, and two buttons on it connected to 'Decision' with return values 1 and 2 (Approve and Reject). Decision control isn't visible with default value 1.
I want to invalidate form only when user clicks rejection button, if comment is empty.
So I set a rule for rejection button as follows
And when I run the workflow, this rule works for both buttons.