How to call an action as per corresponding flow?

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Established Member

How to call an action as per corresponding flow?

Hi Team,

     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.

1 Reply
Highlighted
Senior Member II

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!

Ciju