Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-2773

[Test Scenario Editor] BC - Kogito generated scesim file are in same cases not compatible

    Details

    • Sprint:
      2020 Week 37-39 (from Sep 7), 2020 Week 40-42 (from Sep 28)
    • Steps to Reproduce:
      Hide

      1. Create a new Scesim file in VSCODE with classic Example "Traffic Violation.dmn" and save it without any data nor change.
      2. Create a new Project in business central with the same Traffic Violation.dmn file used in VSCode
      3. Import the same created scesim file in BC project
      4. Open the file. Update the correct dmn path. The validation will fail with this message: Violation.Type - Field type has changed: old 'string', current 'Type'

      Show
      1. Create a new Scesim file in VSCODE with classic Example "Traffic Violation.dmn" and save it without any data nor change. 2. Create a new Project in business central with the same Traffic Violation.dmn file used in VSCode 3. Import the same created scesim file in BC project 4. Open the file. Update the correct dmn path. The validation will fail with this message: Violation.Type - Field type has changed: old 'string', current 'Type'

      Description

      In Business central, In case of DMNType with constraints, related baseType is populated with the base DMN Type (eg. in Violation Scenario example Type has constraints, its DMNType name is Type its baseType is string).

      Currently, KOGITO version of Test Scenario doesn't handle baseType (in the provided case, DmnType name is set to string).

      This means the scesim generated in Kogito will be not compatible with BC

      To fix the issue, baseType needs to be introduced in KOGITO in a similar way we have in BC backend side.

       

       

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                yamer Yeser Amer
                Reporter:
                yamer Yeser Amer
                Tester:
                Jan Stastny
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: