This page was last edited on February 12, 2016, at 20:27.
Comments or questions about this documentation? Contact us for support!
Starting with Composer release 8.1.410.14, workflow diagrams add a Set Ideal Agent block to the Routing palette, which allows you to select the most ideal agent to handle an interaction when more than one agent is available. You can also use this functionality to select the most ideal interaction when there is more than one interaction competing for the same agent. The Composer Set Ideal Agent block invokes the Universal Routing Set Ideal Agent functionality described in Using Agent Skills for Ideal Agent Selection.
This block has two specific Set Ideal Agent properties: Interaction ID (default: system.InteractionID) and Target (provides support for Skill Expression Builder).
Find this property's details under Common Properties.
Find this property's details under Common Properties.
Find this property's details under Common Properties. The error.session.fetch exception is supported.
Find this property's details under Common Properties.
Find this property's details under Common Properties.
Find this property's details under Common Properties.
Set to a meaningful value or keep the default value, which is the system variable system.InteractionID. Can be used for interaction-less processing for scenarios where the InteractionId variable is not automatically initialized, but instead must wait for an event. An example would be an SCXML application triggered by a Web Service that does not add an interaction.
Starting with release 8.1.4, Composer blocks used to build routing applications (with the exception of the Disconnect and EndParallel blocks) add a new ORS Extensions property.
Find this property's details under Common Properties.
Use this property to specify a skill expression.
[+] Set Ideal Agent Code Sample
<state id="SetIdealAgent"> <onentry> <log expr="_sessionid + ': Inside Set Ideal Agent Block: SetIdealAgent'" /> <script>var skillexpr = ["Billing >10"];</script> <session:fetch requestid="App_SetIdealAgent['requestid']" srcexpr="'urs/call/@' + system.InteractionID + '/func/SetIdealAgent'" timeout="30" method="'urs'"> <param name= "params" expr="uneval(skillexpr)" /> </session:fetch> </onentry> <transition event="session.fetch.done" cond="_event.data.requestid==App_SetIdealAgent['requestid']" target="$$_MY_PREFIX_$$.Exit1"> <log expr="'Composer Application:default Block: SetIdealAgent'" /> <log expr="'Session FETCH DONE'" /> <script>storeEvent("SetIdealAgent", _event);</script> </transition> </state>