[rules-users] Updating a user defined error object using drools
Ini
inder.14 at gmail.com
Sun May 6 15:14:19 EDT 2012
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-using-drools-tp3966631p3966838.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list