I'm then wanting to use a CASE statement with IN clauses to determine if a particular character value appears in the three trees and perform processing accordingly.
I naively tried.
CASE
WHEN fieldNameValue IN (select X.Col from Environment.Variables.skipColumn[] AS X) THEN
-- perform some task
CASE
WHEN fieldNameValue IN (select X.Col from
Environment.Variables.skipStoreColumn[] AS X)
-- perform some task
etc
END CASE;
Syntax check in Toolkit ESQL Editor has no complaints. However, when I attempt to deploy the flow I receive error back stating ...expected ) but found X.." at the position of the first WHEN clause.
I can find alterative routes around this problem, e.g. build up text string of values in Col[] using concatentation and then using POSITION function in my CASE statement, but feel there must be a more elegant solution.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum