Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: siddharthan B on June 28, 2016, 06:37:53 AM
-
I need the reason for the below mentioned
1)you assign a value to a variable, the value will not inherits the variable type
2)you cannot route an interaction based on telephony data
-
What variable type and what are you assigning as the value?
What are you trying to do with this variable?
Sent from my SM-N9005 using Tapatalk
-
IT's generic question ...
this is what i saw
1) When you assign a value to a variable, the value inherits the variable type. True or False?
True False
-
it's a variable !! so the values are always different otherwise it would just be a fixed value you would use, not a variable.
or am i missing something in your question ???
-
I'd say no. A variable depends on its type, but languages like JScript are more flexible. Depends on the scenario where you put that question.
If you assign an INT to a STRING what happens? Variable doesn't change to INT, its type is still STRING with a numeric value only.
'4' instead of 4
-
As Cav said, in IRD you must specify the type of value the variable is, (string, float, int). It will not change based on the value you put in there.
Not sure what you mean with your second question, but I'm fairly certain you can route based on telephony data but need to know what you define telephony data as.
-
Thanks for your replies guys :)