Tommy Neubert created DROOLS-5649:
-------------------------------------
Summary: [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
Reporter: Tommy Neubert
Assignee: Mario Fusco
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
--
This message was sent by Atlassian Jira
(v7.13.8#713008)