Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-2673

Unexpected "Conflicting Rows" on GDT with 'greater than' and 'less than or equal to'

    Details

    • Target Release:
    • Fix Build:
      CR1
    • Steps to Reproduce:
      Show
      1. Import project https://github.com/RedHat-Middleware-Workshops/rhpam-rhdm-workshop-v1m2-labs-step-2.git 2. Import attached GDT asset
    • Story Points:
      3
    • Affects:
      Release Notes
    • Release Notes Text:
      'Conflicting Rows' guided decision table check was fixed for comparison operators (<. <=, > ...).
    • Sprint:
      2020 Week 07-09 (from Feb 10), 2020 Week 10-12 (from Mar 2)

      Description

      Decision table with correct values incorrectly shows "confliting rows" message. (Check attached images).

      The drools code is correctly generated.

      package com.myspace.ccd_project;
      
      //from row number: 1
      //Standard customer low risk
      rule "Row 1 risk-evaluation"
      	dialect "mvel"
      	when
      		holder : CreditCardHolder( status == "Standard" )
      		data : FraudData( totalFraudAmount > 0.0 , totalFraudAmount <= 100.0 )
      	then
      		data.setDisputeRiskRating( 0 );
      end
      
      //from row number: 2
      //Standard customer medium risk
      rule "Row 2 risk-evaluation"
      	dialect "mvel"
      	when
      		holder : CreditCardHolder( status == "Standard" )
      		data : FraudData( totalFraudAmount > 100.0 , totalFraudAmount <= 500.0 )
      	then
      		data.setDisputeRiskRating( 1 );
      end
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Rikkola Toni Rikkola
                  Reporter:
                  karina.varela Karina Varela
                  Tester:
                  Jozef Marko
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: