AnsweredAssumed Answered

conditionally mandatory

Question asked by manikanta031 on Jan 31, 2017



I have created a workflow using Eclipse activiti which have a review step which when approved goes to approve step and when rejected goes to reject step.

I have kept a publisher(person) who is mandatory to whom the task will be assigned after approval of the workflow. Where as if it is rejected then it will be initiated to workflow initiator.

Now the problem is if the workflow is going to be rejected then there is no need of "publisher(person)" but it ll not allow to reject if no "publisher(person)" is placed. 

So what I need is to make the publisher mandory only for Approve button and not for Reject button.


Kindly help me.