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.