Is it possible in a Named Query to bind a parameter to a tag?
select job_number as Job, :State as State
from jobs
but for each job_number have the query go to each tag and grab its state?
So say for example a tag looked like this: Job/Job 1/State.value.
For the first job_number in the query, 1, it would need to traverse the tag the Job/Job 1/State.value and get that state.value.
For reference the query would only return integers:
Yeah I see why that wouldn’t work now since the query would not return any data until it has finished executing. Thanks for the clarification @pturmel and @lrose. I’ll have to try a transform to get the additional data I need, just haven’t had any luck with that yet.