OK, thanks.
Med vänlig hälsning
Björn Nord [mailto:bjorn.nord@databyran.se]
Databyrån AB [
http://www.databyran.se/]
Box 23114
104 35 Stockholm Tel +46 8 50 65 64 00
Fax +46 8 50 65 64 30
Databyrån AB är certifierad enligt ISO 9001:2008
Tänk på miljön innan du skriver ut detta e-postmeddelande
-----Original Message-----
From: Mark Proctor [mailto:mproctor@codehaus.org]
Sent: den 6 maj 2014 23:59
To: Rules Users List
Subject: Re: [rules-users] Possibility to use variable reference in date comparison using
coincides?
Not right now.
Mark
On 6 May 2014, at 20:29, Björn Nord <bjorn.nord(a)databyran.se> wrote:
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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users