I am using activiti in my spring application. I would like to call an event on flow.
I want to call an event as per the flow takes. The java class will call when action takes as rejected highlighted in picture. But the above scenario is executed in every task completion. Please let me know how to overcome this.