Set Property Block
The Set Property block allows you to define or redefine a property on the alarm event. The value is created from the Expression Block, which can refer to other properties or the same properties. Typically, the Set Property Block is used as a counter for the number of times the alarm has been looping or notifying people in your on-call roster. Settings modified in this way will only exist while the alarm is in the pipeline, they will not be stored to the journal, or show up in the status table.
Examples
If you want to attempt notification up to three times before stopping, you could create a pipeline that looked like [Notification Block] > [Set Property] > [Expression], with the Expression looping back to the notification block (perhaps with a delay in between).

The Set Property block would look like:
Property Name: counter
Expression: coalesce({counter}, 0) + 1
Note that the first time the block is hit, the counter
property will not exist, and therefore the value will be null. The coalesce
function returns the first non-null value, allowing us to start with 0. Another way to write this might be:
if(isPropertyDefined("counter"), getProperty("counter"), 0)+1
The getProperty()
function is functionally equivalent to simply referencing the property in brackets (that is, {counter}
).
The Expression block in this example would simply be: {counter}<3
.
Here is another example where the operators are notified of an alarm event 3 times before being escalated to the Production Supervisors. Drag two Set Property blocks to your pipeline workspace. Assign the first Set Property block to a Property Name numCalls and a Property Value of "0". The second Property Block you need to increment the counter. Enter "{numCalls} + 1" as shown in the Pipeline Property Editor. Each time the alarm goes through this block, the numCalls variable increments by "1". If no one acknowledges the alarm, it is sent to the Production Supervisor's on-call roster.
