[jboss-user] [jBPM] - Re: fireUntilHalt with customworkhandler

Demian Calcaprina do-not-reply at jboss.com
Fri Jan 27 21:04:18 EST 2012


Demian Calcaprina [https://community.jboss.org/people/calca] created the discussion

"Re: fireUntilHalt with customworkhandler"

To view the discussion, visit: https://community.jboss.org/message/649218#649218

--------------------------------------------------------------
Ricardo, instead of calling fireUntilHalt, you canachieve rules to be executed by adding anevent listener and calling fireAllRules when a rule is activated.. 

you can see this:
 https://github.com/droolsjbpm/jbpm/blob/master/jbpm-gwt/jbpm-gwt-core/src/main/java/org/jbpm/integration/console/StatefulKnowledgeSessionUtil.java https://github.com/droolsjbpm/jbpm/blob/master/jbpm-gwt/jbpm-gwt-core/src/main/java/org/jbpm/integration/console/StatefulKnowledgeSessionUtil.java the method addAgendaEventListener..

Hope this helps,

Demian
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/649218#649218]

Start a new discussion in jBPM at Community
[https://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/20120127/ed2bed6c/attachment-0001.html 


More information about the jboss-user mailing list