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

Details

    • 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
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: