AlarmFirstCatRec not working on sequence of events

Hi,

I was trying to use AlarmFirstCatRec to get the first record of an event in the SOE list.

Upon my understanding, calling AlarmFirstCatRec(0,15) would have to return an alarm record identifier of the first event in SOE list.

However, it does return the identifier of the first active alarm.

The same way, the AlarmNextCatRec(0,15) returns the next active alarm instead an event.

What I am doing wrong?

BR,

Arian