[jboss-user] [jBPM] - Re: ProcessEventListener methods executed twice

Sebastien Lelarge do-not-reply at jboss.com
Tue Oct 18 13:52:24 EDT 2011


Sebastien Lelarge [http://community.jboss.org/people/slelarge] created the discussion

"Re: ProcessEventListener methods executed twice"

To view the discussion, visit: http://community.jboss.org/message/632371#632371

--------------------------------------------------------------
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
[http://community.jboss.org/message/632371#632371]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111018/8924c961/attachment.html 


More information about the jboss-user mailing list