cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Checking if ANI is blank / null?

Gerry O'Rourke
Rising star
Rising star

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

1 ACCEPTED SOLUTION

Accepted Solutions

ptindall
Cisco Employee
Cisco Employee

Gerard,

May seem clunky but you can append another character ($, for example) and then test whether the resultant string starts with it.

View solution in original post

12 REPLIES 12

hemal.mehta
Contributor
Contributor

You can use the decision editor and use cargument type call data and call data type ani and use operator does not exist.

Hemal

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

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.