4 Replies Latest reply on Nov 3, 2016 1:25 PM by mdspath

    New to AF and Notifications

    MikeSpath

      Hello:

      pardon the questions but I'm brand new to using AF, I've been using the PI Archive for a few years now.

      I've configured a notification by creating an event template for the out of range value

      Below is a screen shot of the Analysis template

       

      also the notification template

      The e-mail body gives an error, I want to show what the expression that was violated. I tried using Event Frame Properties Expression

       

      OutOfRange event frame attribute

      DO was 19.3927261682118 at 02-Nov-2016 3:40:00 PM Eastern Daylight Time (GMT-04:00:00)

      This violates rules: {Error inserting result}

        • Re: New to AF and Notifications
          Mike Zboray

          You've got to tell the analysis to write the expression to an attribute on the event frame. In the analysis tab find the "Advanced Event Frame Settings..."

           

           

          Then select the start trigger expression option and map it to an attribute:

           

          This should probably be hidden in Notifications unless properly configured. Or possibly we could modify the analysis setting for you to enable it.

          2 of 2 people found this helpful