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

        1. image-2020-06-30-15-02-18-760.png
          63 kB
          Jim West
        2. image-2020-06-30-15-04-04-419.png
          19 kB
          Jim West
        3. image-2020-06-30-15-17-34-791.png
          41 kB
          Jim West

        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: