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 09: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.


sandeepreddy 01-28-2016 10: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 01: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 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 11:35 AM.