I have created a documentType from an XML Schema in the designer. In this XML Schema, some fields are boolean, and they have been created as a String data type, with content type boolean.
In a branch, how am I supposed to test the value of this boolean? Do I have to compare it to “1”,“true”,“0” and “false”? Is there any option to avoid those 4 comparisons to have only 2 (true/false or 1/0)?
Yes the Branch with var substitution to check boolean case should work as true(1) /false (0)…In anycase if you see other than this could be some pipeline issue.
Thank you all for your answers.
I came to the same conclusion, but I was hoping that maybe I could use some dedicated functions like $true or $false, or something else