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.
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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users