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'

XMLWordPrintable

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

      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
      

              trikkola Toni Rikkola
              kvarela@redhat.com Karina Varela (Inactive)
              Jozef Marko Jozef Marko (Inactive)
              Jozef Marko Jozef Marko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: