[rules-users] Accessing instance variables of the fact inside functions in decision tables
HonorGod
jagadeesh.motamarri at barclayscapital.com
Tue Jan 5 11:02:31 EST 2010
Thanks for the information. Glad...we can atleast pass the object references
to the functions!
David Sinclair-2 wrote:
>
> No this is not currently possible. Functions are generated without regard
> to
> any particular rule, i.e. functions don't know what bind variables you
> have
> in rules. Generating a function/class to include all bind variables would
> be
> possible, but probably not make a lot of sense.
>
> On Mon, Jan 4, 2010 at 1:54 PM, HonorGod <
> jagadeesh.motamarri at barclayscapital.com> wrote:
>
>>
>> I have defined functions in my decision table. I wanted to access my
>> instance
>> variables inside functions without actually passing them as parameters.
>> Is
>> this possible?
>> --
>> View this message in context:
>> http://n3.nabble.com/Accessing-instance-variables-of-the-fact-inside-functions-in-decision-tables-tp108739p108739.html
>> Sent from the Drools - User mailing list archive at Nabble.com.
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
--
View this message in context: http://n3.nabble.com/Accessing-instance-variables-of-the-fact-inside-functions-in-decision-tables-tp108739p109894.html
Sent from the Drools - User mailing list archive at Nabble.com.
More information about the rules-users
mailing list