How can we improve the PI Server?

Conditional Exit for Analysis Expressions

Sometime you want to do an analyse only when one or more conditions are true, if the are not true you want to exit the analyse, so steps below the conditional exit are not evaluated/executed. The conditional in Analytics should look like:
if condition = true then exit analyse
At the moment this is only possible with the function NoOutput(), but then the mapped attribute should be connected to an PIPoint and you have to fill in a else condition. All rows below the conditional exit will not be executed.

35 votes
Sign in
Signed in as (Sign out)

We’ll send you updates on this idea

AdminTodd Brown (Product Manager, OSIsoft) shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →


Sign in
Signed in as (Sign out)
  • Kenneth Barber commented  ·   ·  Flag as inappropriate

    To work around this, save the result of the condition evaluation to a variable. Then wrap the formula of each subsequent variable in "if condition then formula else NoOutput()".

  • Holger commented  ·   ·  Flag as inappropriate

    Would also be nice to have a similar (optional) feature in event frame generation:

    Add the possibility to stop triggering other start triggers after triggering on the first true trigger expression. Optionally prevent only same or lower priority triggers.

Feedback and Knowledge Base