Well, that did work for the query that I posted but it did not work for my other query, so let me post my full example.
q: ids of relevant fixlets whose (not exists values of headers “X-Fixlet-Type” of it or (value of headers “X-Fixlet-Type” of it as lowercase != “task” and value of headers “X-Fixlet-Type” of it as lowercase != “analysis” and value of headers “X-Fixlet-Source” of it != “Internal”)) of sites whose (name of it = “custom”)
A: 3474
A: 3466
q: concatenations " " of ids of relevant fixlets whose (not exists values of headers “X-Fixlet-Type” of it or (value of headers “X-Fixlet-Type” of it as lowercase != “task” and value of headers “X-Fixlet-Type” of it as lowercase != “analysis” and value of headers “X-Fixlet-Source” of it != “Internal”)) of sites whose (name of it = “custom”)
E: The operator “concatenations” is not defined.
So far, no matter how I wrap in parenthesis or not, I always get the same error. Any ideas on why it didn’t work?
I fixed it, it was a “type” problem. Added the as string and everything was fine.
q: concatenation " " of (ids of relevant fixlets whose (not exists values of headers “X-Fixlet-Type” of it or (value of headers “X-Fixlet-Type” of it as lowercase != “task” and value of headers “X-Fixlet-Type” of it as lowercase != “analysis” and value of headers “X-Fixlet-Source” of it != “Internal”)) of sites whose (name of it = “custom”) as string)
I think the reason you are getting the “not defined” error is because what you are trying to Concatenate is not a string. Try casting “as string”.
Q: concatenations " " of ((ids of relevant fixlets whose (not exists values of headers “X-Fixlet-Type” of it or (value of headers “X-Fixlet-Type” of it as lowercase != “task” and value of headers “X-Fixlet-Type” of it as lowercase != “analysis” and value of headers “X-Fixlet-Source” of it != “Internal”)) of sites whose (name of it = “custom”)) as string)