Avaya Support Forums

Avaya Support Forums (http://support.avaya.com/forums/index.php)
-   Contact Center Applications (http://support.avaya.com/forums/forumdisplay.php?f=3)
-   -   Converting between types in script (http://support.avaya.com/forums/showthread.php?t=10609)

agrace 10-22-2015 10:23 AM

Converting between types in script
 
I'm trying to route a call to a variable that I'm getting back from a AEP application. The problem that I'm having is that I can't assign the intrinsic data to a variable with type "DN".

I've gotten the value into a string and logged it so I know it's there and correct. Is there any way to convert from a string to another type? I tried

CONVERT im TO DN varsdn

but this didn't work.

Thoughts?

sandeepreddy 01-28-2016 11:22 PM

HI Grace,

Could please clarify your query in detail for better understanding to be able to guide you in right direction!

If this is related to the application logic you may open a thread on DevConnect: www.avaya.com/devconnect

mark05 02-01-2016 02:03 AM

I believe this is related to AACC Scripting. If yes, please review the below information:

Based on document 44400-510_05.03_AACCConfiguration-OrchestrationDesignerApplicationDevelopment_Decemb er_2014, Page 284
CONVERT
Convert script variables of type ACD, CDN, CLID, DN, DNIS, and INTEGER to STRING. The string operations APPEND, CONTAINS, and MATCHES only work with string variables. This command allows a primitive conversion for complex routing decisions in scripting.

You cannot convert variables of type SKILLSET, AGENT_ID, or any other types of variables not listed above.


All times are GMT -7. The time now is 02:01 PM.