[jboss-jira] [JBoss JIRA] (DROOLS-3269) [DMN Designer] Context: Default can be any expression type
Jozef Marko (Jira)
issues at jboss.org
Fri Nov 9 04:05:00 EST 2018
[ https://issues.jboss.org/browse/DROOLS-3269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13659361#comment-13659361 ]
Jozef Marko commented on DROOLS-3269:
-------------------------------------
[~manstis] Ok, I know what is my concern, hope will be able explain below.
If you have a look on the attached screenshot, the top level Context Header Cell says the context returns a number. It is correct because the Decision node holds {{<variable>}} with {{typeRef}} to {{number}}.
The problem is that the {{context}} has {{typeRef}} to {{string}} even when the holding Decision returns {{number}}.
Am I clear now please? Reading my comment, maybe it is different issue we are solving that block proper fix of this one.
> [DMN Designer] Context: Default can be any expression type
> ----------------------------------------------------------
>
> Key: DROOLS-3269
> URL: https://issues.jboss.org/browse/DROOLS-3269
> Project: Drools
> Issue Type: Enhancement
> Components: DMN Editor
> Affects Versions: 7.14.0.Final
> Reporter: Michael Anstis
> Assignee: Michael Anstis
> Priority: Blocker
> Labels: drools-tools
> Attachments: Qclt6jQn.dmn, Screenshot from 2018-11-09 08-16-34.png
>
>
> The "default" box can be any type of expression, specially decision tables and nested contexts.
> Furthermore the "default" box on contexts is optional. We must provide a way for it to be removed. When support for _any_ type of expression we'll be able to have a {{null}} value for the expression so this should fix itself.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list