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

Unary negation failure with TemporalPredicate and declared timestamp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.70.0.Final
    • 7.69.0.Final
    • executable model
    • None
    • 2022 Week 17-19 (from Apr 25), 2022 Week 20-22 (from May 16)
    • 2
    • NEW
    • NEW
    • ---
    • ---

    Description

      Even after DROOLS-6950 fix, Unary negation with TemporalPredicate + declared timestamp fails.

      e.g.

      declare TransactionHistory
        @role( event )
        @timestamp(timeStamp)
      end
      rule R
      when
          $a : TransactionHistory( merchantId == 10 )
         List(size() > 0) from collect (TransactionHistory( merchantId == 20, !(this before [10d] $a.timeStamp )))
      then
      ...
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: