-
1. Re: JBPM Business Rule Task clarifications
sridhar532 Jan 23, 2012 1:35 AM (in response to jbpm_new)Hi All,
I facing the similar problem. Does anyone have a solution for the above problem. Thanks
-
2. Re: JBPM Business Rule Task clarifications
eaa Jan 23, 2012 3:25 AM (in response to jbpm_new)You will need to put a gateway after the Rule Task so you can decide which path to follow. Inside your rules yo will need to set 1 or more process variables, then you can us those variables in the gateway to make a decision.
Regarding ksession.fireAllRules(), there is another way to do this, but at the moment that other way (ksession.fireUntilHalt()) causes some other problems related to timers and persistence. So, my advice would be to continue using ksession.fireAllRules().
-
3. Re: JBPM Business Rule Task clarifications
jbpm_new Jan 23, 2012 5:25 AM (in response to eaa)Hi Esteban,
Thanks for your Reply. I saw in one another post that We can use AgendaEventListener in our Session with
afterRuleFlowGroupActivated event for our Business Rules. Is that a good approach ?. Please let me know Thanks
-
4. Re: JBPM Business Rule Task clarifications
sridhar532 Jan 23, 2012 6:31 AM (in response to jbpm_new)Hi Esteban,
Also when we use AgendaEventListener and use afterRuleFlowGroupActivated event for existing Sessions , the Business Rules are not getting Triggered in the Process. It works only when we are launching with new StatefulKnowldegeSessions.