[rules-users] Usage of global variables in decision table

Wolfgang Laun wolfgang.laun at gmail.com
Wed Oct 3 03:31:17 EDT 2012


See the documentatiom,  keyword "Variables" in the Rule Set Area lets
you declare globals. Initialisation must be done in Java code, using
the API, i.e.: kSession.setGlobal( . , . )
-W

On 03/10/2012, Mahadevappa, Shobha <Shobha.Mahadevappa at nttdata.com> wrote:
> Hi,
> I have a scenario where I have to write a rule in decision table to find if
> a particular string is present in a collection of objects.
> I was thinking of placing this collection as a GLOBAL variable and execute
> the contains method on this collection for the string that is passed.
>
> I am not very clear as to how to realize this in a Decision table.
> Any inputs towards this is greatly appreciated.
>
> Regards,
> Shobha M
>
>
> ______________________________________________________________________
> Disclaimer:This email and any attachments are sent in strictest confidence
> for the sole use of the addressee and may contain legally privileged,
> confidential, and proprietary data.  If you are not the intended recipient,
> please advise the sender by replying promptly to this email and then delete
> and destroy this email and any attachments without any further use, copying
> or forwarding


More information about the rules-users mailing list