if you look over the examples download many of them use static nested
classes - checkout HelloWorldExample.
Mark
Martin Book wrote:
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
------------------------------------------------------------------------
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users