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

Unable to find function 'matches

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 7.60.0.Final
    • dmn engine
    • None
    • Hide

      run the following ::

      inside a BKM :

      borrowerTaxInfo.dateOfRegistration = "yyyy-mm-dd"

      matches(borrowerTaxInfo.dateOfRegistration,"^\d{4}\-(0?[1-9]|1[012])\-(0?[1-9]|[12][0-9]|3[01])$") 
      
      Show
      run the following :: inside a BKM : borrowerTaxInfo.dateOfRegistration = "yyyy-mm-dd" matches(borrowerTaxInfo.dateOfRegistration, "^\d{4}\-(0?[1-9]|1[012])\-(0?[1-9]|[12][0-9]|3[01])$" )
    • NEW
    • NEW
    • ---
    • ---

      When using matches function - has started showing "error"

      [org.kie.dmn.feel.runtime.functions.MatchesFunction] (default task-1) Unable to find function 'matches( lass org.kie.dmn.feel.runtime.functions.MatchesFunctio )'

        1. image-2023-06-19-15-12-00-239.png
          14 kB
          Matteo Mortari
        2. image-2023-06-19-15-12-27-539.png
          29 kB
          Matteo Mortari

              mmortari@redhat.com Matteo Mortari
              kunal.kishan.infosys Kunal Kishan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: