You will have to provide all of your (reduced) code as it reproduces the issue.
It's pointless posting "I got this error" when you don't show the
actual code where it happens, the error message, the way DRL
compilation is done...
-W
On 16/05/2012, Ayush <ayush.vatsyayan(a)alcatel-lucent.com> wrote:
Thanks a million for your reply.
Yes this is a sample code because the one I'm actually working on is much
complex. The actual flow is
- create dynamic object and keep it in map
- create session and load drl
- insert all the dynamically created object in drools session
- fire all rules.
Yes, when error is thrown the function is declared in same drl in which the
rule is.
We thought of creating Map instead of Dynamic classes but due to
performance
constraint we have to use dynamic classes.
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-function-not-working-with-Javass...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users