How to create notification rule with seconds since change?

I'm trying to create a notification rule for when a PI Interface heartbeat goes stale. Right now, the event frame start trigger is configured as follows:

 

StartTrigger1 := (SecSinceChange('Heartbeat') > 300)

 

Recipients will receive the notification at event start, and there will be a resend interval if the heartbeat remains stale.

 

I'd like to include how long the heartbeat has been stale in the notification. This would be easy if the notification were sent at Event End, because the SecSinceChange call could be written to an output attribute at close, and this can be referenced inside the notification email.

 

One possible workaround I see is to create a separate analysis to write SecSinceChange output to a new PI Point attribute, and reference this attribute in the notification. But this approach would involve creating a new PI Point for each monitored interface, which I'd prefer not to do.

 

Is there a better way to configure this?