cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
660
Views
0
Helpful
1
Replies

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!  

1 Accepted Solution

Accepted Solutions

Samuel Womack
Level 5
Level 5

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...

View solution in original post

1 Reply 1

Samuel Womack
Level 5
Level 5

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...