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