10-28-2013 01:20 PM - edited 03-14-2019 12:39 PM
I am trying to get a Simple name to display along with DNIS and ANI when a call comes to CAD Agent. I have seen an example (http://www.cisco.com/image/gif/paws/46023/QA-SetupScreenPOP.pdf) of how to do this using Set Enterprise Data Step. I try setting the Select Resource properties to have connect as No but keep getting an error:
Any ideas?
UCCX Premium Version: 8.0.2.11005-20
Solved! Go to Solution.
10-28-2013 01:54 PM
If you select Connect = No, then you need to specify the User variable in the last field: Selected Resource. This is a variable you would have created of type User.
Anthony Holloway
Please use the star ratings to help drive great content to the top of searches.
10-28-2013 01:54 PM
If you select Connect = No, then you need to specify the User variable in the last field: Selected Resource. This is a variable you would have created of type User.
Anthony Holloway
Please use the star ratings to help drive great content to the top of searches.
10-28-2013 02:19 PM
Thanks Anthony that was a big help!
10-29-2013 10:05 PM
I am new to this, but how do you get the name to show?
I have 30 customer which I want to match the number to customer name and then display to CAD.
thanks
10-30-2013 07:28 AM
Not Sure if Anthony can answer your question. I'm failrly new also. We are displaying a name based on the application being called. It sounds like you need to do a data base dip with the customer number so it can return a name.
10-30-2013 09:04 AM
Derrick Shumake wrote:
I am new to this, but how do you get the name to show?
This is a wide open question but I assume you mean to ask: How do you display the customer name in CAD enterprise data?
Derrick Shumake wrote:
I have 30 customer which I want to match the number to customer name and then display to CAD.
You would first need to decide where you will store this number to name mapping. If you don't already have a solution in place or in mind, allow me to suggest using a HashMap. It's perfect for this type of lookup.
Variables
java.util.HashMap customers = { java.util.HashMap m = new java.util.HashMap(); m.put("1000", "ABC Company"); m.put("2000", "XYZ Company"); return m; }
String calling_number = ""
String customer_name = ""
String enterprise_layout = "test_layout"
Script
Start
Accept (--Triggering Contact--)
calling_number = Get Call Contact Info (--Triggering Contact--, Calling Number)
If (customers.containsKey(calling_number))
True
Set customer_name = customers.get(calling_number)
False
Set customer_name = "Unknown"
/* Set the customer name Enterprise Field and choose the layout */
Set Enterprise Call Info (--Triggering Contact--) Variables Used:customer_name, enterprise_layout
...the rest of your script: prompts, menus, select resource, etc....
End
A couple of things to note:
Anthony Holloway
Please use the star ratings to help drive great content to the top of searches.
10-30-2013 09:48 AM
this is what I am looking for. but can you show the exact steps to add the java stuff.
its not taken none of my comands.
its hard when your new to this.
thanks
10-30-2013 10:05 AM
You mean like this?
{ java.util.HashMap m = new java.util.HashMap(); m.put("1000", "ABC Company"); m.put("2000", "XYZ Company"); return m; }
Anthony Holloway
Please use the star ratings to help drive great content to the top of searches.
10-30-2013 12:37 PM
This was a great post
thanks for all your help.+5
10-30-2013 01:10 PM
Derrick Shumake wrote:
This was a great post
thanks for all your help.+5
Thank you for the positive feedback. I'm glad you got what you needed.
Anthony Holloway
Please use the star ratings to help drive great content to the top of searches.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide