[jboss-jira] [JBoss JIRA] (DROOLS-2788) UX to support selection of multiple data/domain object instances

Ron Murhammer (JIRA) issues at jboss.org
Tue Sep 18 14:43:00 EDT 2018


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

Ron Murhammer edited comment on DROOLS-2788 at 9/18/18 2:42 PM:
----------------------------------------------------------------

The most common case is you have rules that are dealing with the checking of multiple objects and testing conditions. So imagine something like I want to find all accounts that have 2 disputes open to flag them as high risk. So I'd define an account object and then multiple dispute objects. So the test would be something like:

Given
- Account $a
- Dispute $d1: account == $a, status == open
- Dispute $d2: account == $a, status == open

Expected
- $a.isHighRisk == true


was (Author: ron-murhammer):
The most common case is you have rules that are dealing with the checking of multiple objects and testing conditions. So imagine something like I want to find all accounts that have 2 disputes open to flag them as high risk. So I'd define an account object and then multiple dispute objects. So the test would be something like:

Given
- Account $a
- Dispute $d1: account == $a, status == open
- Dispute $d2: account == $a, status == open
Expected
- $a.isHighRisk == true

> UX to support selection of multiple data/domain object instances
> ----------------------------------------------------------------
>
>                 Key: DROOLS-2788
>                 URL: https://issues.jboss.org/browse/DROOLS-2788
>             Project: Drools
>          Issue Type: Task
>          Components: Scenario Simulation and Testing
>            Reporter: Liz Clayton
>            Assignee: Liz Clayton
>              Labels: ScenarioSimulation, UX, UXTeam
>         Attachments: Screen Shot 2018-07-24 at 2.22.20 PM.png, Screen Shot 2018-09-18 at 1.35.43 PM.png
>
>
> As a user I want to define multiple data/domain object instances per scenario (i.e. possible to have a scenario with more than one instance of “Person”), so that I can create a test scenario. 



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



More information about the jboss-jira mailing list