Maintenance Notice - PDF Generation
Dynamic PDF generation for web-based content is temporarily unavailable. This maintenance affects dynamic PDF files that are generated from either the HTML-based page or manual that you are viewing. Links that normally allow this functionality have been hidden, and will reappear as soon as the feature is restored.

Note: Access to static files, including PDF files that are not dynamically generated from our web-based content, is unaffected.

Jump to: navigation, search

Access Interaction Properties

The following SCXML strategy shows how to access the properties of an interaction object.

<scxml version="1.0" xmlns="" 
	var ixnid;
  <state id="initial">
	<transition event="interaction.added" target="get_ixn_properties">
			ixnid =;
  <state id="get_ixn_properties">
			var g_uid = _genesys.ixn.interactions[ixnid].g_uid;
			var category = _genesys.ixn.interactions[ixnid].category;
			var tenantid = _genesys.ixn.interactions[ixnid].tenantid;
			var parentid = _genesys.ixn.interactions[ixnid].parentid;
			var contactedaddr = _genesys.ixn.interactions[ixnid].contactedaddr;
			var parties = _genesys.ixn.interactions[ixnid].parties;
			var udata = _genesys.ixn.interactions[ixnid].udata;
			var voice = _genesys.ixn.interactions[ixnid].voice;
			var xdata = _genesys.ixn.interactions[ixnid].xdata;
			var location = _genesys.ixn.interactions[ixnid].location;
	<transition cond="category=='voice'" target="exit">
		<log expr="'g_uid: ' + g_uid" />
		<log expr="'category: ' + category" />
		<log expr="'tenantid: ' + tenantid" />
		<log expr="'parentid: ' + parentid" />
		<log expr="'contactedaddr: ' + contactedaddr" />
		<log expr="'parties: ' + uneval(parties)" />
		<log expr="'udata: ' + uneval(udata)" />
		<log expr="'voice: ' + uneval(voice)" />
		<log expr="'xdata: ' + uneval(xdata)" />
		<log expr="'location: ' + uneval(location)" />
	<transition target="error" />
  <final id="exit"/>
  <final id="error"/>
This page was last edited on September 22, 2017, at 13:06.


Comment on this article:

blog comments powered by Disqus