[rules-users] Globals

Femke De Backere femmyke at gmail.com
Fri Jan 30 09:05:31 EST 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090130/d502634f/attachment.html 


More information about the rules-users mailing list