This lesson is part of the Alarming in Ignition course. You can browse the rest of the lessons below.

LESSON LIST

Autoplay Off

Supplemental Videos

Description

Learn how to setup escalation procedures in Alarm Notification pipelines.

Video recorded using: Ignition 8.1

Transcript

(open in window)

[00:00] In this video, we are going to take a look at how we can automatically escalate an alarm notification to a different group of users after a set time. I want to notify my operators that there is an issue. And after notifying them a few times, if the problem persists, then I will have it escalate and notify a manager. So first and foremost, in order to keep track of the number of times that we have notified the operators, we have to actually set a property inside this pipeline. I'm going to bring in the set property block in the very beginning, and from the start I'm going to come right into the set property block. Here I'm gonna call that property Counter. I'm going to initialize that to a value of zero. Then from there, I'm going to bring in the notification block and notify my operators. After notifying all of my operators, I need to increment my counter to indicate that I have notified one time.

[01:03] I will add another set property block, give it the same property name, and give it a value of the value of the counter property plus one. I then want to wait and give them a chance to take care of the issue. So what we're going to do is we're going to do a simple delay block here. We'll delay for maybe 300 seconds, which is five minutes. And after that, if the alarm is still active and unacknowledged, I then want to check to see what to do next. Do we notify our operators again, or do we escalate? That decision will be based on the value of the counter variable. So I will need to add in an expression block to check the value of that property. My expression will be, my counter variable is less than three. If it is less than three, which means I have not notified my operators three times yet, it's going to return true. And we're going to go right on back into the notification block.

[02:05] If it is three or higher, that means that my operators have been notified three times and it has been a total of 15 minutes. So it will return false. I want to escalate that up to the managers at this point. So we're going to do another notification block here that notifies the managers. As you can see this pipeline, when an alarm comes in, it's going to notify my operators three times over 15 minutes before escalating to my managers. This is how we can use a simple loop with some logic and a variable to create a pipeline that automatically escalates our alarm notifications.

You are editing this transcript.

Make any corrections to improve this transcript. We'll review any changes before posting them.