Hi,

Is there a way to use a reference to a variable in the coincide-section like 
the one I have tried below with $expireWeeks?


rule "Request expired analysis"
  dialect "mvel"
  when
     SettingForDefinition( definition == "DonationAnalysisRequest" , $code : 
setting, $expireWeeks : value)
     Donation( $donationDate : sampleDate)
     // $expireWeeks below does not work.
     not PerformedDonationAnalysis(code == $code, sampleDate coincides 
[$expireWeeks] $donationDate)
   then
      ...
  End

Kindest regards,

Björn

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to