[jboss-user] [jBPM] - fireAllRules() in a loop issue

Miloud Haimoune do-not-reply at jboss.com
Fri Feb 3 12:53:02 EST 2012

Miloud Haimoune [https://community.jboss.org/people/milhaim] created the discussion

"fireAllRules() in a loop issue"

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

Hi guys,

In my process I need to check if a rule is still valide each three second, the rule is activated and fired oanly the first time

My process  : 

my rule : 

rule 'toujours' 
no-loop true
ruleflow-group 'supplier'
     System.out.println('Rules : ----------- test -------------  ');

to fire the rules : 

        for (int i = 0; i < 20; i++) {

The execution log : 

Hello World
step 2
Rules : ----------- test -------------  
step 2
step 2
step 2
step 2
step 2
step 2
step 2
step 2
step 2

Any idea how to activate the rule each time in the loop:

many thanks.

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120203/4e053f0b/attachment.html 

More information about the jboss-user mailing list