<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Figured it out.  In my UCCX script, my ECC variable was
<i>strConcatenated</i> – it was missing “user” on the front of it.  I renamed it to
<i>userstrConcatenated</i>, which fixed it.  But, a typical concatenated string was about 230 characters.  The maximum length of an ECC variable is 210 characters.  So, I had to split it up into 2 separate ECC variables.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Kevin<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:#1F497D"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b>From:</b> Damisch, Kevin <br>
<b>Sent:</b> Friday, July 22, 2016 8:58 AM<br>
<b>To:</b> 'Damisch, Kevin' <Kevin.Damisch@oneneck.com>; cisco-voip@puck.nether.net<br>
<b>Subject:</b> RE: Maximum variables in Finesse actions<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Just giving an update, but still have a question on the Finesse workflow action.  I can get the HTTP request to work when sending in any of the custom variables 1 to 10 in the body of the request.  The web server
 I am sending the HTTP request to requires all 10 custom variables, but a workflow action restricts you to only 5 variables in a workflow action.  I was able to concatenate the values of all 10 custom variables into a single ECC variable within the script and
 I set that with the Set Enterprise Info step.  So, I updated my HTTP request action like this:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Name: TestHTTPAction<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Type: HTTP Request<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Handled by: Finesse Desktop<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Method: POST<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Location: Other<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Content Type: application/x-www-form-urlencoded<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">URL: <a href="https://10.10.10.10/api/PhoneCallTracking">
https://10.10.10.10/api/PhoneCallTracking</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Body: I click the variable icon, choose Custom and type strConcatenated   (I have also tried user.strConcatenated and user.ecc.strConcatenated)<o:p></o:p></span></p>
<p class="MsoNormal"><img border="0" width="411" height="123" id="_x0000_i1025" src="cid:image002.jpg@01D1E42E.A94EFE50"><span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">This is what the action looks like:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><img border="0" width="491" height="294" id="Picture_x0020_2" src="cid:image003.png@01D1E42E.A94EFE50"><span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I watch the reactive debug go through the Set Enterprise Info step and populate the ECC variable, rings my Finesse agent, I answer it, and it fires off this HTTP action.  The web server does not like the format
 of the request.  Looking at the web server logs, this is what it shows for the body of the HTTP request from UCCX:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">${userstrConcatenated}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">If I use custom variables in the HTTP body, the values get passed to the web server just fine.  If I use ECC variables in the HTTP body, it is passing the ECC variable name, not the value of it.  So, my question
 is – how do you pass the “value” of an ECC variable in the body of an HTTP request action?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Kevin<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> cisco-voip [<a href="mailto:cisco-voip-bounces@puck.nether.net">mailto:cisco-voip-bounces@puck.nether.net</a>]
<b>On Behalf Of </b>Damisch, Kevin<br>
<b>Sent:</b> Monday, July 11, 2016 1:21 PM<br>
<b>To:</b> <a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<b>Subject:</b> [cisco-voip] Maximum variables in Finesse actions<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Customer has UCCX 10.6(1) and trying setup an HTTP request action in a workflow.  The caller enters values in the IVR and we do some DB/web lookups within the scripts that we populate in custom variables 1 to 10.  We need to pass these
 10 variables to a web server via an HTTP request.  Looks like we are hitting a roadblock of a maximum of 5 variables per action:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><img border="0" width="627" height="541" id="Picture_x0020_1" src="cid:image004.jpg@01D1E42E.A94EFE50"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">They are currently using CAD.  Within CDA, we use IPC Actions sent to a custom application on the agent’s machines.  We are sending 11 variables via these IPC Actions to that application currently and trying to migrate this over to an HTTP
 request within a Finesse workflow.  One thought I had is to concatenate the values of all 10 variables into a single expanded call variable and use that within the body of the HTTP request.  But, I’m not sure of any size limitation in doing this.  Thoughts?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">And, why is there a limit of only 5 per action?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks!<o:p></o:p></p>
<p class="MsoNormal">Kevin<o:p></o:p></p>
</div>
</body>
</html>