Drools Stateless Kie Session returning stale value from Global Variables

36 Views Asked by At

We have a use case where we need two consecutive drools rule evaluations, where we are creating new StatelessKieSession every time including new container instance, we are storing the result in a global variable within StatelessKieSession, result object is created for both executions. Sometimes the result that we are reading from global variable in second execution is returning the value from first execution. What could be behind this?

0

There are 0 best solutions below