[rules-users] Can we return values from rules to java ?

FrankVhh frank.vanhoenshoven at agserv.eu
Wed Dec 29 06:58:35 EST 2010


Hi,

I saw your last update a little late :-)

If the looping is the problem, just add the no-loop attribute to the rule. I
got the same mistake just recently.

Regards,
Frank


FrankVhh wrote:
> 
> Hi,
> 
> Does the result of your ruleset seem to be ok to you?
> 
> Maybe you could post some snippets of your code. An example of a rule will
> suffice as drl. Regarding to the java, the snippet of code where the
> tracking variable is declared and maybe even the "aftermath" (What happens
> after the ruleset is executed) 
> 
> Regards,
> Frank
> 
> 
> Shobhit1 T wrote:
>> 
>> Hi frank,
>> 
>> I tried what you just told. It goes into an infinite loop after updating. 
>> and control remains in the drl.
>> 
>> Regards,
>> 
>> Shobhit
>> =====-----=====-----=====
>> Notice: The information contained in this e-mail
>> message and/or attachments to it may contain 
>> confidential or privileged information. If you are 
>> not the intended recipient, any dissemination, use, 
>> review, distribution, printing or copying of the 
>> information contained in this e-mail message 
>> and/or attachments to it are strictly prohibited. If 
>> you have received this communication in error, 
>> please notify us by reply e-mail or telephone and 
>> immediately and permanently delete the message 
>> and any attachments. Thank you
>> 
>> 
>> 
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>> 
>> 
> 
> 

-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Can-we-return-values-from-rules-to-java-tp2162152p2162489.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list