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.
Re: How to call an action as per corresponding flow?
That should not be the case, and if it is happening it is a bug. Could you please check if the condition expression itself is correct after the exclusive gateway and not taking the reject path always? Please provide the actual process xml & a unit test so that it helps users in community to serve you better!