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
      

        1. risk-evaluation.gdst
          13 kB
          Karina Varela
        2. Screen Shot 2020-02-03 at 18.23.23.png
          547 kB
          Karina Varela
        3. Screen Shot 2020-02-03 at 18.36.47.png
          217 kB
          Karina Varela
        4. Screen Shot 2020-02-03 at 18.37.26.png
          248 kB
          Karina Varela
        5. Screen Shot 2020-02-03 at 18.38.53.png
          439 kB
          Karina Varela

            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

              Created:
              Updated:
              Resolved: