Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-5459

Unable to add a formula for Boolean attributes

XMLWordPrintable

    • Hide

      I am attaching my Business Central example tiny project. But, can be reproduced just by creating a Data Object with a Boolean attribute and then when creating a Guided Rule try to associate a Formula to this attribute.

       

      Show
      I am attaching my Business Central example tiny project. But, can be reproduced just by creating a Data Object with a Boolean attribute and then when creating a Guided Rule try to associate a Formula to this attribute.  
    • NEW
    • NEW

      In a Guided Rule:

      Here a Data Object used in this example:

      The plan was to have an expression like this:

      fact0.setGold( $a.getGold() && $b.getGold() ) 

      I had to ditch the Guided Rule and write my rule on a drl file.

       

              trikkola Toni Rikkola
              jimwest362 Jim West (Inactive)
              Jozef Marko Jozef Marko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: