Hi,
Was wondering if anyone is having this problem with running system.db.runNamedQuery() on a tag change event.
From the manual I understand that we need to add additional projectName when calling the function. However, when I try to do this on a tag change event it cannot find NamedQuery
Boolean Tag
On Tag value change event:
if not initialChange:
projectName = ‘DVI’
system.db.runNamedQuery(projectName,‘myInvalues2’,{})
When I toggle the tag I get error on event saying it cannot find the named query.
- If i remove the projectName it errors out saying it cannot find project. So I know for sure this is being executed on gateway scope.
Any thoughts on why it is not finding the named query? is this bug or am I missing something?
Thanks,
Ken