1 Reply Latest reply on Aug 10, 2011 6:45 AM by olddave

    Diverging gateway not working?

    olddave

      Hi,

       

      I have a simple loop that repepats on a Timer ( when Timer in BPMN2 designer supports CRON that is). But I get this error:

       

      [ERROR 11:05:01.976 BST] qtp1773079990-105 - /console/rs/process/definitions:CommandDelegate - [ERR 102] Line 5:13 mismatched input 'true' in rule "RuleFlow-Split-_af42df9a-4e9c-4b58-996c-ee339590ec50-5-4-DROOLS_DEFAULT"

      [ERROR 11:05:01.976 BST] qtp1773079990-105 - /console/rs/process/definitions:CommandDelegate - [ERR 102] Line 12:13 mismatched input 'false' in rule "RuleFlow-Split-_af42df9a-4e9c-4b58-996c-ee339590ec50-5-7-DROOLS_DEFAULT"

       

      My two test are simply "Always loop" = "return true;" and "Do not end" = "return false;"

      looptest.png

      Huh?

       

      Thx.

       

      Ed.

        • 1. Re: Diverging gateway not working?
          olddave

          Since when you enter the two tests and save them it does not verify their correctness and I had made an error in specifying these are "rule" rather than "code" it is simple error to make.

           

          A nice feature in the editor would be to check that at least the code compiles or the rule is valid before allowing them to save it.

           

          Ed.