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

Unary negation failure with TemporalPredicate and declared timestamp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major 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
    • ---
    • ---

      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
      ...
      

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

                Created:
                Updated:
                Resolved: