JBoss Community

Re: fireUntilHalt with customworkhandler

created by Demian Calcaprina in jBPM - View the full discussion

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 the method addAgendaEventListener..

 

Hope this helps,

 

Demian

Reply to this message by going to Community

Start a new discussion in jBPM at Community