How to get alarm filtered by source id

If ChangeHint is ChangeHintMassUpdateForSource then I want to get all alarms which was changed/updated for ChangedData.SourceId.

Good afternoon Aby,

The ChangeHint for ChangeHintMassUpdateForSource is assigned when a bulk update is done in the alarm manager. For example when we select N alarms and close them through the right button.

If you want to filter alarms by sourceId that have ChangeHintMassUpdateForSource then I would suggest to use the same logic as in the MIP samples “AlarmEventViewer”.

Something like this:

switch (changedAlarmData.ChangeHint)
{
    case ChangedAlarmData.ChangeHintSingleAlarm:
break;
    case ChangedAlarmData.ChangeHintMassUpdateForSource:
        //Do whatever you need here
break;
}

If you need further assistance do not hesitate to reach out