Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

UCCX Scripting - Bolean Value return

If you are call a sub flow from a main script that pulls an XML file and is looking for a Boolean value of true or false, will we get different script result when the return is False, FALSE or false?   As the XML is filled in by humans through a website, not sure what they will type as far as caps.  We could manipulate the string on the server side and change to all lower case.   Do I have to burn some time and try this, or does someone know!  

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions

So the SubFlow is Returning a

So the SubFlow is Returning a String...

boolean b = Boolean.parseBoolean(string);

It really doesn't matter what the case is in..if the return say True/TRUE/true, b will be true and the same is true if the return is False/FALSE/false...

1 REPLY

So the SubFlow is Returning a

So the SubFlow is Returning a String...

boolean b = Boolean.parseBoolean(string);

It really doesn't matter what the case is in..if the return say True/TRUE/true, b will be true and the same is true if the return is False/FALSE/false...

171
Views
0
Helpful
1
Replies
CreatePlease login to create content