[rules-users] Using param of innerclass in <LHS> condition
Martin Book
m.book at web.de
Tue Nov 13 07:17:13 EST 2007
Hello,
the class ContactQueueDetail contains class ContactCallDetailId.
ContactQueueDetail cqd
I have asserted cqd to the WorkingMemory.
It contains ContactCallDetailId id;
On the LHS I need the Timestamp t=id.getStartDateTime();
I have not found the correct Syntax for this, yet.
My rule looks like this:
rule "ContactQueueDetail"
when
$cqd:ContactQueueDetail($disp:disposition==1,$id:id.startDateTime)
$h: CallsPerHour(hour==$id.getHour())
then
..
end
kind regards
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071113/65fbc7e0/attachment.html
More information about the rules-users
mailing list