Hi,

I am attempting to use decision tables to compare the attribute values in two 
objects. I have been successful using drl files, but with an excel, I get a 
parse error, the excel looks something like this - 


 
 
 
  RuleSet
  krishna.drools.decisiontable
 
 
  Import
  krishna.drools.*
 
 
  

  

 
 
  RuleTable KrishnasTest
  

 
 
  CONDITION
  ACTION
 
 
  MyCompare($cn:name)
  

 
 
  MyOriginal
  

 
 
  name==$cn
  System.out.println("$param");
 
 
  CheckTheName
  SetValueOfPercent                   

 
 
  

  10
 


CheckTheName and SetValueOfPercent are column headers.
I am not sure how to define the MyCompare.name as the value being compared. 
Would appreciate any pointers.

Thank you,

Krishna

_________________________________________________________________
Get 5 GB of storage with Windows Live Hotmail.
http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_5gb_112008
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to