JBoss Community

Re: ProcessEventListener methods executed twice

created by Sebastien Lelarge in jBPM - View the full discussion

Mauricio,

 

we are having trouble with Rule nodes. It seems that if we design BPMN process embedding a Rule Task, the rules listed in the referenced ruleflow group are never fired.

So I imagine that we need to "manually" fireAllRules but the processInstance never hangs in the Rule node if we startProcess and then fireAllRules just after...

 

Knowing that, I am trying to find a workaround and launch the fireAllRules method each time a process instance reaches a Rule node. This is why I focused on ProcessEventListener implementation but I am facing new problems exposed in the first post.

 

What is the best practice concerning RuleTasks ?

 

My environment is Tomcat 6/JBPM 5.1 Final/Oracle 11g/Bitronix TM

 

Thanks

Reply to this message by going to Community

Start a new discussion in jBPM at Community