[rules-users] Define global variables at the top of a rules file

Martin A wmlsub at gmail.com
Thu Oct 20 11:19:48 EDT 2011


Hello,

I'd like to set global rules variables at the top of a rules file, like so:

global int WELCOME_SCREEN = 1;

so that I may easily refer to them from inside the rules, instead of
hardcoding them somewhere in code. Is this possible?

Best regards,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20111020/857355eb/attachment.html 


More information about the rules-users mailing list