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

Unable to add a formula for Boolean attributes

    XMLWordPrintable

Details

    • 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

    Description

      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.

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: