AnsweredAssumed Answered

Output system state in analytics output

Question asked by JKitching on Sep 29, 2019
Latest reply on Sep 30, 2019 by Shibu

I'm trying to write "no data" as the output of an analysis template and failing miserably.

I'm trying to make this work:

if tagmax('COB','*-1h','*') > 0 then "no data" else 'NCI'

The calculation seems to work when > 0 is false but I get an error writing the system state when > 0 is true.

I've tried "no data", 'no data' and then ran out of ideas

Is there a better way to do this (I can't output zero for various reasons)?

I don't think I can use NoOutput as the tag will just retain its last value won't it?