AnsweredAssumed Answered

PI AF Analysis IF statement problem

Question asked by mlath2 on Jun 25, 2018
Latest reply on Jun 26, 2018 by mlath2

I have an attribute in AF that is a PI tag, that a user enters to populate a user trend screen.

I am using an AF Analysis to return the tag name and description automatically,

which is working when i have a good tagname.

If the user enters an incorrect tag (ie spelling mistake), I want to put "Bad Tag" in the description,

so i am using an analysis as follows, (good tag example)

But if the tag is bad, the analysis fails. It looks like it is trying to validate the TagDesc before executing the IF

(i.e tagname changed to \\swglgs6007\SINUSIO to make it fail)

TagBad is working, if i put it on its own

Any ideas how to get around this ?

Outcomes