[jboss-jira] [JBoss JIRA] (DROOLS-3455) Data type constraints: Year/Mos Duration
Edson Tirelli (Jira)
issues at jboss.org
Mon Jan 28 16:59:01 EST 2019
[ https://issues.jboss.org/browse/DROOLS-3455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13688378#comment-13688378 ]
Edson Tirelli commented on DROOLS-3455:
---------------------------------------
Sorry I missed this before, but an "Years and Months duration" allows the user to input a number of years and a number of months on the same duration value, with the caveat that both are optional.
4 years -> valid
3 years and 5 months -> valid
6 months -> valid
It is also valid to enter a number of months higher than 11, but the engine is supposed to normalize that internally.
18 months -> valid, but the spec requires the engine to normalize that to "1 year and 6 months"
Reopening the ticket.
> Data type constraints: Year/Mos Duration
> ----------------------------------------
>
> Key: DROOLS-3455
> URL: https://issues.jboss.org/browse/DROOLS-3455
> Project: Drools
> Issue Type: Story
> Components: DMN Editor
> Reporter: Liz Clayton
> Assignee: Liz Clayton
> Priority: Major
> Labels: UX, UXTeam, drools-tools
> Attachments: enumeration.png, expression.png, range.png
>
>
> Background
> Persona: Business analyst or Rules practitioner
> Use Cases:
> * From the DMN canvas view - as a user I want to define data type restrictions (one-off instances) from a decision table .
> * From the Data Types tab - as a user I want the ability to define constraints for the following types: Year/Mos Duration (Expression, Enumeration, and Range.)
> Functional considerations/ pre conditions:
> * Consider interaction in light of Property panel and consistency.
> * Underscore the notion of one-off constraints.
> Verification conditions:
> * Scrum team and PO review.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list