Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1536

DMN Constraint Enumerations have no Effect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • DMN
    • None
    • 7.9.0

    • False
    • False
    • Undefined
    • Hide
      1. Open the Traffic Violation sample dmn project.
      2. Observe that the data types tViolation.Type data type has three values

      4. Return to the decision table and run the validation option a warning about string enumerations is listed BEFORE any changes are made to Violation.Type values:

      5. Change the 1st column to a string not listed in the enumeration

      6. Save the table.A validation check will be run.  The same warning as before is produced.  Nothin indicates tat the constraint enumeration has been violated:

       

      Show
      Open the Traffic Violation sample dmn project. Observe that the data types tViolation.Type data type has three values 4. Return to the decision table and run the validation option a warning about string enumerations is listed BEFORE any changes are made to Violation.Type values: 5. Change the 1st column to a string not listed in the enumeration 6. Save the table.A validation check will be run.  The same warning as before is produced.  Nothin indicates tat the constraint enumeration has been violated:  

      Constraints expressed as an enumeration have no effect.  They do not constrain the rule author from entering incorrect values outside the range of the enumeration.  No warning is issued to indicate that incorrect values are typed.

        1. image-2020-12-16-18-13-58-231.png
          93 kB
          David Williams
        2. image-2020-12-16-18-22-09-928.png
          99 kB
          David Williams
        3. image-2020-12-16-18-23-43-648.png
          111 kB
          David Williams

            Unassigned Unassigned
            rhn-gps-davidwil David Williams
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: