Has anyone out there developed any functions for reading CDMs with Contact Server? I have a workflow that recieves 2 (should be 3) SubTypes from a CCT. On a call queuing (subtype = queue) a database record is written with DNIS and a few other pieces of info. On connect (subtype = connect) the db record is updated with the call being connected to an agent. What I need is a disconnect (subtype = disco) to have the workflow delete the message. From my limited experience with Contact Server, I've only seen ways to configure a workflow to execute on CTIMs and not CDMs, so I have no way of knowing when the call completes. Can anyone tell me a way to execute a workflow when the call is finished?