Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: ragulkumar on April 11, 2017, 11:16:34 AM
-
Hi,
In ECMAScript block, the below code is added, it shows error in generated vxml code.
Note : The error message is "The content of elements must consists of well-formed character data or markup"
try {
if(AppState.inputmode < 10) {
AppState.slotname = 'Test';
} else {
AppState.slotname = 'Demo';
}
} catch (error) {
}
If i change the lesser than symbol (AppState.inputmode < 10) to greater than symbol(AppState.inputmode > 10), it didn't show error.
I am using version "8.1.300.33".
Kindly let me know whether it is known issue.
Thanks,
Ragulkumar
-
Maybe symbol substitution will work for you ? Try to replace < and > with < and >
-
Thanks for your reply.
Yeah of course it works. I want to know is there any specific reason for not working. Whether it is version issue or anything.