]
Jozef Marko commented on DROOLS-2655:
-------------------------------------
[~manstis] [~tari_manga] I am checking the PR and has a question. Please follow my steps
at first:
- Create a Decision node
- Then create InputData named *A*
- Then create InputData named *B*
- Then create connection B->Decision
- Then create connection A->Decision
- Then specify Decision node as a DecisionTable
And here is my question, should be the columns corresponding to InputData nodes sorted
alphabetically? Currently the input columns will be sorted according to the order of
connection creation. Long story short, currently input columns will be B, A. Wouldn't
be better sort them alphabetically? I am not sure, so asking.
[DMN Designer]: Decision Table: Automatically create input columns
for each InputData element
---------------------------------------------------------------------------------------------
Key: DROOLS-2655
URL:
https://issues.jboss.org/browse/DROOLS-2655
Project: Drools
Issue Type: Enhancement
Components: DMN Editor
Affects Versions: 7.8.0.Final
Reporter: Michael Anstis
Assignee: Michael Anstis
[~tari_manga] suggested it advantageous to create input columns for each {{InputData}}
element linked to the {{Decision}}/{{BusinessKnowledgeModel}} containing the
{{DecisionTable}} expression. For example, if a BKM has 2 {{InputData}} nodes of simple
data-types then two columns should be created. If a BKM has 1 {{InputData}} node of
complex data-type that consists of 3 elements then 3 columns should be created.
- For simple data types the input column names should correspond exactly to InputData
elements.
- For complex data types, we should use dot notation, e.g. Person.name, Person.salary
...
h3. PR Manual Acceptance Test
- Check Decision Table Decision node, with inputs (?)
- Check Decision Table Decision node, without inputs
- Check Non Decision Table Decision node, with inputs
- Check Non Decision Table Decision node, without inputs
- Check Decision Table BKM node, with inputs
- Check Decision Table BKM node, without inputs
- Check Non Decision Table BKM node, with inputs
- Check Non Decision Table BKM node, without inputs