Hi!

I'm trying to set a global for my ruleflow in Drools 5 M5. 

            Patient patient = new Patient();
            ksession.setGlobal("patient", patient);

            

But I always get the following error:

"Could not find variable scope for variable patient when trying to execute Work Item Human Task 

   Continuing without setting parameter."


Does anyone know what I'm doing wrong?


Thx!


Femke