The date range is somewhat arbitrary (not necessarily under my control),
therefore, I don't know what "date" to enter in this part:
startDate <= "<date>"
The "<date>" is not really a factor, as long as the latest CrewSegment
end
date is within 7 days of the earliest CrewSegment start date.
Am I making sense with this explanation?
salaboy wrote:
you have the start and end date, you can filter with that information?
CrewSegment( personId == $s.personId, $crewHours : crewHours, startDate <=
"<date>", endDate => "<date>" ),
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Rule-syntax-to-accumu...
Sent from the Drools - Dev mailing list archive at
Nabble.com.