)
Segment ($endDate : endDate, startDate $regDate || startDate
$endDate )
From: sdh...@hotmail.com
To: rules-users@lists.jboss.org
Date: Tue, 23 Feb 2010 23:09:50 +
Subject: Re: [rules-users] Comparing Date with || OR operator
Segment ( $endDate : endDate
...@gmail.com
To: rules-users@lists.jboss.org
Subject: Re: [rules-users] Comparing Date with || OR operator
What about:
Membership ( $regDate : regDate)
Segment ($endDate : endDate, startDate $regDate || startDate endDate )
Logically startDate endDate doesn't make sense but it should work
Subject: Re: [rules-users] Comparing Date with || OR operator
What about:
Membership ( $regDate : regDate)
Segment ($endDate : endDate, startDate $regDate || startDate
endDate )
Logically startDate endDate doesn't make sense but it should work ;-)
Pavel
2010/2/24 Shabbir Dhari sdh
in a variable and not using
that variable in condition make no sense to me.
Shabbir
Date: Wed, 24 Feb 2010 10:54:24 +0100
From: [hidden email]
To: [hidden email]
Subject: Re: [rules-users] Comparing Date with || OR operator
What about:
Membership ( $regDate : regDate
Of dhari
Sent: 23 February 2010 06:15
To: rules-users@lists.jboss.org
Subject: [rules-users] Comparing Date with || OR operator
The following code generates NPE in ReteTuple.java
rule
when
Membership ( $regDate : regDate)
Segment ( startDate $regDate || startDate
the NPE.
Thomas
From: [hidden email] [mailto:[hidden email]] On Behalf Of dhari
Sent: 23 February 2010 06:15
To: [hidden email]
Subject: [rules-users] Comparing Date with || OR operator
The following code generates NPE in ReteTuple.java rulewhen
Membership ( $regDate
: Re: [rules-users] Comparing Date with || OR operator
Hi Thomas
Thanks your prompt reply. I am sure all three attributes are NOT null. I have
tested them before sending question to mailing list. If you want, I can send
complete sample code and you can try it at your end.
Regards,
Dhari
:[hidden email]] On Behalf Of dhari
Sent: 23 February 2010 06:15
To: [hidden email]
Subject: [rules-users] Comparing Date with || OR operator
The following code generates NPE in ReteTuple.java
rule
when
Membership ( $regDate : regDate)
Segment ( startDate
)
at
org.drools.reteoo.ReteooStatelessSession.execute(ReteooStatelessSession.java:192)
at
au.gov.nsw.osr.zena.rules.AnnualRulesTester.main(AnnualRulesTester.java:57)
Date: Tue, 23 Feb 2010 12:54:46 +0100
From: wolfgang.l...@gmail.com
To: rules-users@lists.jboss.org
Subject: Re: [rules-users] Comparing Date with || OR operator
Please
Membership ( $regDate : regDate)
Segment ($endDate : endDate, startDate $regDate || startDate $endDate )
From: sdh...@hotmail.com
To: rules-users@lists.jboss.org
Date: Tue, 23 Feb 2010 23:09:50 +
Subject: Re: [rules-users] Comparing Date with || OR operator
Segment ( $endDate
The following code generates NPE in ReteTuple.java
rule
when
Membership ( $regDate : regDate)
Segment ( startDate $regDate || startDate endDate )
then
System.err.print(“Invalid start date”);
end
I am new in Drools and don’t know much
11 matches
Mail list logo