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' when then System.out.println('Rules : ----------- test ------------- '); end to fire the rules : for (int i = 0; i < 20; i++) { ksession.fireAllRules(); Thread.sleep(2000); } 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 [https://community.jboss.org/message/714364#714364] Start a new discussion in jBPM at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
