]
Matteo Mortari updated DROOLS-5649:
-----------------------------------
Component/s: dmn engine
[DMN XML] Signavio Profile - ZipFunction: parameter do not match
----------------------------------------------------------------
Key: DROOLS-5649
URL:
https://issues.redhat.com/browse/DROOLS-5649
Project: Drools
Issue Type: Bug
Components: dmn engine
Reporter: Tommy Neubert
Assignee: Matteo Mortari
Priority: Minor
Attachments: Screenshot 2020-09-17 at 16.18.25.png
h2. 1. Synopsis
In order to allow the execution of dmn.xml files exported by the Signavio Process
Manager, the Signavio Profile
([
https://github.com/kiegroup/drools/blob/master/kie-dmn/kie-dmn-signavio|h...])
contains all custom made functions.
The zip-function that is contained in this profile however expects its parameters in a
different format then the Signavio Process Manager exports. This causes the
parsing/execution of such dmn.xml files to fail. Customers have to manually adjust the xml
file in order to get there executions running. This is both inconvenient and error prone
and should be fixed.
h2. 2. Technical Details
As described above the parameters of the zip-function do not match
Signavio Process Manager Export:
{code:java}
zip(["name", "age"], [names, ages]){code}
Signavio Profiles expected parameters:
{code:java}
zip(["name", "age"], names, ages)
{code}
Codepointer:
[
https://github.com/kiegroup/drools/blob/master/kie-dmn/kie-dmn-signavio/s...]
h2. 3. Acceptance Criteria
# zip-function exported by the Signavio Process Manager should be executable without
manual adjustments
# [backwards compatible]existing dmn.xml files (with manual adjustments) should still be
exectuable