05-20-2011 02:42 AM - edited 03-14-2019 07:56 AM
If Get XML Document Data doesn't return a result, how do you test it? String.isEmpty() doesn't do the trick, it still throws the exception "java.lang.NullPointerException". I can't seem to be able to match that up to a cisco exception with a "On Exception Goto" step (which I put right before the XML Document Data step). Any clues anyone?
Solved! Go to Solution.
05-20-2011 09:50 AM
Hi,
Try this:
variable=Get XML Document Data ()
if(variable == null) then
true
false
Gabriel.
05-20-2011 09:50 AM
Hi,
Try this:
variable=Get XML Document Data ()
if(variable == null) then
true
false
Gabriel.
05-20-2011 09:59 AM
Thank you, that did it
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide