[jboss-jira] [JBoss JIRA] (DROOLS-2815) [DMN Designer] Make Expression Type dependent on Diagram Node

Edson Tirelli (JIRA) issues at jboss.org
Wed Aug 1 18:46:00 EDT 2018


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

Edson Tirelli commented on DROOLS-2815:
---------------------------------------

Regarding allowing a Decision node to have a function expression, the spec allows it, but it is quite an edge case. I would restrict this if and only if it makes the implementation of the editor easier. 

A BKM on the other hand is *ALWAYS* a function definition, but remember that the body of a function definition can be any of the valid expression types supported by DMN: decision table, literal, context, invocation, list, relation or function definition (although this one can probably be filtered out, as it is even more of an edge case).



> [DMN Designer] Make Expression Type dependent on Diagram Node
> -------------------------------------------------------------
>
>                 Key: DROOLS-2815
>                 URL: https://issues.jboss.org/browse/DROOLS-2815
>             Project: Drools
>          Issue Type: Feature Request
>          Components: DMN Editor
>    Affects Versions: 7.9.0.Final
>            Reporter: Jozef Marko
>            Assignee: Michael Anstis
>              Labels: drools-tools
>
> The expression editor options should be dependent on the diagram node type. 
> h2. Decision Node
> Should allow all expression types except of *Function*
> h2. BKM Node
> Should allow only *Function* expression type. 
> h3. Further improvement
> BKM node has automatically function expression inside - separate jira, or won't be implemented?
> ([~jomarko] IMO If/when [~tirelli] confirms the subject of this JIRA is the expected/required operation I'd ensure BKMs have a Function set and cannot be cleared).
> h2. Acceptance tests
> - Not possible to set *function expression type* for Decision node
> - Possible to set just *function expression type* for BKM node 
> -- Created automatically if we decide to implement here
> - Dialog shown if opened file from external tool that doesn't follow this restriction



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list