A specific rule does not fire at 2nd attempt with RHDM 7.4.0 after kieSession is reset.

Solution In Progress - Updated -

Issue

After upgrading from 7.11.0.Final-redhat-00004 (RHDM 7.1.1) to 7.23.0.Final-redhat-00002 (RHDM 7.4.0) , specific rule can not fire at 2nd or subsequent attempt after calling org.drools.core.impl.StatefulKnowledgeSessionImpl.reset() .

Here is an example of problematic rule.

rule "rule1_1"
when
        $dataA : DataA( code == "code1")
        not DataC( modifyCode == "1" && code == "code1")
        $dataB : DataB( modifyCode == "1" )

then
   ...
end

rule "rule1_3"
when
        $dataA : DataA( code == "code1")
        not DataC( modifyCode == "1" && code == "code1")
        $dataB : DataB( modifyCode == "3" )
then
    ...
end

rule "rule2"
when
        $dataA: DataA( code == "code1")
        $dataC: DataC( code == "code1")
then
    ....
end

Environment

  • Red Hat Decision Manager
    • 7.2, 7.3, 7.4, 7.5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In