[jboss-jira] [JBoss JIRA] (DROOLS-2657) [DMN Designer] Select Box for Decision Table input columns

Michael Anstis (Jira) issues at jboss.org
Fri Feb 22 04:34:00 EST 2019


    [ https://issues.jboss.org/browse/DROOLS-2657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13699198#comment-13699198 ] 

Michael Anstis commented on DROOLS-2657:
----------------------------------------

Hi [~uxdlc] yes this would require some UX.. but personally I'd not worry until this JIRA gets worked on.

Imagine an {{InputData}} has a _structure_ data-type {{tDataTypeWithHundredsOfNestedElements}} (that funny enough has 100s of nested elements). If I create a {{DecisionTable}} from this {{InputData}} we should make an {{InputClause}} column for each of the nested elements of the data-type. This, in this example, would be 100s of columns. So, the intent is when the number of columns to be created exceeds a threshold (IDK, e.g. 5) then we show a popup that lists the 100s of nested elements (in for example a table with a checkbox column) where from the User can select the nested elements fro which columns will be created. The {{DecisionTable}} could have multiple {{InputData}} nodes and hence it'd be the sum of the number of nested elements across all {{InputData} nodes that are checked against the threshold and listed in the popup.

Clearer?

> [DMN Designer] Select Box for Decision Table input columns
> ----------------------------------------------------------
>
>                 Key: DROOLS-2657
>                 URL: https://issues.jboss.org/browse/DROOLS-2657
>             Project: Drools
>          Issue Type: Enhancement
>          Components: DMN Editor
>    Affects Versions: 7.8.0.Final
>            Reporter: Jozef Marko
>            Assignee: Michael Anstis
>            Priority: Minor
>              Labels: drools-tools
>
> Currently the decision table input columns can be named with any name. However their names should correspond to InputData elements in the DRG, thus we should provide select box for each decision table input column, where user would select corresponding InputData element for the given decision table input column.
> h3. Acceptance test
> # Sorting in select box
> # Rename InputData, change reflected in select box
> #  Same InputData connected to multiple nodes, appropriate select boxes contain the value



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list