04-10-2014 04:04 PM - edited 03-14-2019 01:21 PM
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!
Solved! Go to Solution.
04-10-2014 05:14 PM
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...
04-10-2014 05:14 PM
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...
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