I’m attempting to determine the value of the SWITCH input, which will either be something like HTML or NULL. Here is a testing example:
This is how the variable evaluates:
“switch($9.body.body.contentType;“html”;“file.” $9.body.body.contentType;2;2)” : file.
So it is evaluating to the first caluse (correctly) and then should be outputting “file.html” as the value of $9.body.body.contentType is html, but instead I just get “file.”