06-14-2016 01:54 AM - edited 03-14-2019 04:13 PM
Dear Sir,
I have Problem With UCCX Substring Method. the problem is that in first scenario that i attach it's picture i have no problem when i compare the variable with the field that i use in SQL Server 2012 DB, But in Second Scenario I have problem with substring method that i used for string variable to get the digit that i want there. when i used substring method to do that, i can not match that value to the value of DB Field
Thanks
06-14-2016 08:04 AM
You can try adding a new variable called areaCode and using the Set step to set areaCode = CallerID.substring(0,4) instead of CallerID=CallerID.substring(0,4). In your SQL statement, change $CallerID to $areaCode and see if that makes any difference.
Bill
06-14-2016 10:34 AM
Thank for Respose
I do that but not work.
I even pass the value in that $areacode to the finesse agent with set enterprise call info and that show the correct value that i want. but when i want to use SQL Query that doesn't match the DB Field Value.
I think the problem should be one of the following:
1)Mismatch Data type
2)Wrong Driver For JDBC
3)Substring add somehing before or after the string manipulation
I don't Know what the Exact Problem with that.(Because the value in that field really match the SQL DB Field)
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