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

Add support to DMN constraints on inputs (report input validation errors)

XMLWordPrintable

    • 2019 Week 11-13
    • 5
    • NEW
    • NEW

      See this example https://github.com/kiegroup/drools/compare/master...tarilabs:tarilabs-20190305-testDaniele#diff-d717b69ecaafa152c779cb97c6e3caa5R2433
      and try with a value out of the domain ranga [0..100].

      when a Decision or any evaluation which depends on such InputData is triggered, an error message like the following is reported
      ```Error while evaluating node 'my decision' for dependency 'my input': the dependency value '999' is not allowed by the declared type (DMNType

      { http://www.trisotech.com/definitions/_7ab67159-21c7-4985-91fc-f0d0174898db : tNumber0100 }

      )```

      NOTE: Verify also running the tests from the command line.

            yamer@redhat.com Yeser Amer
            dzonca@redhat.com Daniele Zonca
            Klara Bezdekova Klara Bezdekova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: