1 Reply Latest reply on Nov 8, 2017 5:18 AM by bkaviyarasan

    Business Rule Task doesn't get executed inside a loop

    kyla

      Hi Maciej ,

       

      I have created a business process as explained in this loop example.

      https://manthapavankumar.wordpress.com/2013/08/01/jbpm-loops-concept/

       

      If i add a Business rule task just after the loop script task, the rule gets executed only for the first time and not for the rest of the time. The onEntry and OnExit scripts executed but not the rule.

      I have written sample Business rule in such a way, the 'When' condition will always be evaluated as true ( like eval(true)).

       

      Could anyone help me to achieve this.

       

      Thanks

      Kyla