08-14-2014 09:37 AM
Simple question I think?
But I don't see a way using the decision editor to check if a variable is blank or null?
I can write a simple java action element to check, but is there a way to do this without using some simple java custom code?
Gerard
Solved! Go to Solution.
08-14-2014 11:15 AM
Gerard,
May seem clunky but you can append another character ($, for example) and then test whether the resultant string starts with it.
08-14-2014 09:41 AM
You can use the decision editor and use cargument type call data and call data type ani and use operator does not exist.
Hemal
08-14-2014 09:46 AM
Ahh, I thought that would check if the actual variable exists or not and not the value of the variable itself.
Thanks for the tip. I will give it a test and see.
Gerard
08-14-2014 10:14 AM
It turns out that with VXML Server, if you set a variable value to NULL
then VXML Server deletes the variable.
So you'll never have a session or call data variable that exists with a
NULL value.