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

[DMN Designer] PMML support - function parameters generation

XMLWordPrintable

    • 1
    • Workaround Exists
    • Hide

      Manually delete field that is not intended to be an input of a function.

      Show
      Manually delete field that is not intended to be an input of a function.
    • Hide
      1. Open folder with 'test_regression.pmml'
      2. Create new dmn file in the same folder
      3. Include 'test_regression.pmml' via 'Included models' tab into fresh created dmn
      4. Add BKM node into canvas
      5. Set the function type of this BKM to PMML
      6. Select 'document' and 'model' - there will be single option for both

      Current: fld1, fld2, fld3, fld4 are generated as function parameters
      Expected: fld1, fld2, fld3, are generated as function parameters

      Show
      Open folder with 'test_regression.pmml' Create new dmn file in the same folder Include 'test_regression.pmml' via 'Included models' tab into fresh created dmn Add BKM node into canvas Set the function type of this BKM to PMML Select 'document' and 'model' - there will be single option for both Current: fld1, fld2, fld3, fld4 are generated as function parameters Expected: fld1, fld2, fld3, are generated as function parameters
    • 2020 Week 37-39 (from Sep 7)

      As part of KOGITO-2895 we introduced support for DMN and PMML model integration in kogito-tooling.

      Environment

      VS Code kogito extension

      Description

      This integration introduces auto-generating of function parameters once PMML model for a function expression was selected.

      The issue is this auto-generation doesn't take into account usageType="predicted" attribute. Fields with this attributes should be generated as input parameters of the function as these fields are used to store the result.

      For more details, see steps to reproduce.

            yamer@redhat.com Yeser Amer
            rh-ee-jomarko Jozef Marko (Inactive)
            Jozef Marko Jozef Marko (Inactive)
            Jozef Marko Jozef Marko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: