Thanks laune...what i understood from the code that you have written is :
we write rules where we are checking for employee department if its null
then create the new error object and set the values of all the properties
and then call the insert(e)...
how have few more queries on this:
1. How to retrieve the updated error object in java class from where i am
triggering the rules.
2. In case if i have check for another property say employeeName and if it
is null again create a new error object and call insert(e). in this case
will the previous error object be lost if not how will retrieve these two
error objects back in my calling class.
Thanks,
Ini
--
View this message in context:
http://drools.46999.n3.nabble.com/Updating-a-user-defined-error-object-us...
Sent from the Drools: User forum mailing list archive at
Nabble.com.