[rules-users] How to use a temp variable accorss multiple rules?

Swindells, Thomas TSwindells at nds.com
Tue Nov 15 09:25:46 EST 2011


It's up to you, wherever is most convenient.
For primitives you would have to wrap it in an object though.

Thomas

> -----Original Message-----
> From: rules-users-bounces at lists.jboss.org [mailto:rules-users-
> bounces at lists.jboss.org] On Behalf Of Zhao Yi
> Sent: 15 November 2011 14:21
> To: rules-users at lists.jboss.org
> Subject: Re: [rules-users] How to use a temp variable accorss multiple rules?
>
> Where should I define the Output class, in Java code or drl file?
>
> How about if the Output is only a int or double value? Must I wrap the value
> into a Java class?
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/How-to-
> use-a-temp-variable-accorss-multiple-rules-tp3509713p3509799.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users


**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster at nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00
**************************************************************************************




More information about the rules-users mailing list