I'm trying to use Genesys Agent Scripting to send a UserEvent with a disposition code after a call has finished.
The event is sent successfully and ICON stores it in its G_CUSTOM_DATA_S table.  But InfoMart won't extract it because the CALLID field is missing.
Does anyone know how to attach AttributeCallUUID with a UserEvent?  The way I'm doing it just adds it to the UserData list, rather than an attribute of the event itself, if that makes sense.
Example below:
[code]
@07:42:32.3660 [0] 8.0.200.44 distribute_user_event: message EventUserEvent
	AttributeEventSequenceNumber	00000000001ee297
	AttributeTimeinuSecs	366000
	AttributeTimeinSecs	1317969752 (07:42:32)
	AttributeUserEvent	EventUserEvent
	AttributeUserData	[171] 00 05 00 00..
		'AttributeCallUUID'	'FOMKJ7VJHP41BBK1KBA5VVCG3O002LC0'
		'test_key' 	'test_value'
	AttributeConnID	00c101f81ddf5d25
	AttributeReferenceID	4
	AttributeThisDN	'8013'
[/code]
This is the code I'm using in the script:
[code]
com.genesyslab.ail.AilFactory factory = com.genesyslab.ail.AilLoader.getAilFactory();
com.genesyslab.ail.Dn dn = factory.getDn(dnId);
com.genesyslab.ail.Interaction ixn = factory.getInteraction(interactionId);
java.util.Hashtable map = new java.util.Hashtable();
map.put("test_key",outcome);
map.put("AttributeConnID",ixn.getTConnectionId());
map.put("AttributeCallUUID",callUUID);
try{
	dn.sendUserEvent(map);
}catch(com.genesyslab.ail.exception.RequestFailedException exp) {}
[/code]
Maybe there is some method I can use to get the UUID, like getTConnectionId() above?