[rules-users] Process variables in split/action nodes

Renato Herebia renato.herebia at dextra-sw.com
Tue Sep 29 12:25:03 EDT 2009


Hi!

How can I access process variables inside split nodes, in fact, in split
contraints?

I accessed a process variable named "count" in an action node like that:

Integer c = (Integer) kcontext.getVariable("count");
kcontext.setVariable("count", ++c);

But, in a split constraint doesn't work. So, my doubts are:
- How is the way in split constraints?
- Is there a simpler way to access process variables in action node?

Thanks!

-- 
Renato Herebia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090929/cc06192e/attachment.html 


More information about the rules-users mailing list