Pulling key values from a list, if the values are Boolean, URS is setting the value to 0 or 1 rather than the actual text value. How can I stop that happening or what is the best function to manipulate that in a single line that includes the lookup?
KVLists as far as I know doesn’t support Boolean type so most likely it is already 0/1 in KVList itself (the one KVListGetStringValue gets on input).
And if it so you can get only 0/1 (as integers or as strings).
If strings “true”/“false” required then probably need to be done explicitly. Simple single line construction: CondInt[KVListGetStringValue[…], “true”, “false”]
Thanks guys, that’s what I had assumed. I’ve had to deal with it by doing a couple of StrReplace functions when doing the Assign. That’s easier than asking our REST developer to change the response.