Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

CVP Call Studio - concatenate variable data

Hello,

I'm new to Call Studio, do not have my hands on the software yet.

Is it possible to concatenate variable data within a call studio script?

The business wants to capture IVR menu selections for reporting purposes.  The IVR is complex and will require a CVP VXML server application.  My plan is to utilize a call variable within call studio, update the variable with flags/values for each menu selection, then send this data back to ICM.  In ICM, I will analyze this variable and set call types accordingly for reporting.

Thanks in advance,

Mike

11 REPLIES

Hi, i think it is possible in

Hi,

 

i think it is possible in call studio, please let me know exactly what you would like to with?

example? and i may help you with that.

 

regards

Chintan

Community Member

Hi Chintan, Thanks for

Hi Chintan,

 

Thanks for responding.  Lets say user selects option 1 from menu 1.  I want to populate var1 with '1'.  Then user selects option 4 from menu 2.  var1 is now '14'.   User selects option 3 from menu 3.  var1 is now '143'.  etc...  Eventually I will pass this data back to ICM to set call types.

 

Mike

Yes, very possible, actually

Yes, very possible, actually there's not much which is not possible with CVP. In your case you would have a node at the very end which concatenates all your variables together. One word of advice, put a delimiter between your variables, it will make it easier for ICM to break them apart.

 

david

Community Member

Hello David,

Hello David,

I would appreciate if you can advise how to separate the concatenated values in ICM so we can save each one in a Peripheral Variable.

Thank you in advance.

Lara

Look at the build in

Look at the build in functions of left(), right(), mid(), find(). If you provide a specific string and what you want out of it, I can provide more specific information.

david

Community Member

Thank you very much David for


Thank you very much David for your prompt reply.

The string that will be sent from CVP through ExternalVXML[0] is "Var1=High,Var2=Gold".

In ICM script Editor, I need to save Var1's value in PV1 and Var2's value in PV2 so I can have PV1=High and PV2=Gold.

Thank you in advance.

Lara

I don't have an ICM script

I don't have an ICM script editor handy right now, but look at the following example:

left(string,find(string,","))

You start from the inside out. First, you find the location of the comma, then you take everything left of it. So in your case the above formula would yield "Var1=High". Does this help?

david

Got it.ok, so in call studio

Got it.

ok, so in call studio i would do it like this.i would define one variable say session data "retVAL" and update its value based on menu selection.

if you closely loom at attached screenshot everything is there. value of all 3 menu options are concatenated and assigned to session data called retVAL using substitution  builder.

 

and the value of same variable is returned to ICM using CVP sub dialog return.

 

regards

Chintan

i forgot to attach main

i forgot to attach main callstudio image which tells how to merge value.

Community Member

Hi Chintan,How many variables

Hi Chintan,

How many variables can be concatenated together? I have a very complicated script and I need to know if I can proceed with this approach.

Thank you.

Lara

Lara,You can concatenate as

Lara,

You can concatenate as many as you want, the only blocking factor is that your FromEXTVXML ECC has enough room for to contain all the data.

 

david

919
Views
20
Helpful
11
Replies
CreatePlease to create content