[rules-users] Modifying fact object during rules execution

vmuthupal muthupalaniappan at eth.net
Sun Apr 13 12:33:37 EDT 2008


Hi,

Currently we have a rule defined like this
When
  Currency value = 300
  Currency type = USD
  Condition 3 = something
  Condition 4 = something
Then
  do this

If the input values are not of the same currency then we need to do a
currency conversion and then evaluate the above rule. For example if the
input value says Currency value = 250 and currency type = Euro. then we need
to convert the currency value from Euro to USD and then execute the rule. Is
this possible by using functions on the LHS. If possible is there a better
way to do this as we are currently looking at 10,000 rules to go through
this routine.

Thanks.
-- 
View this message in context: http://www.nabble.com/Modifying-fact-object-during-rules-execution-tp16659936p16659936.html
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list