Hi Leopold,
We are using it to get the acknowledgeable (_alert_hdl.._ackable) value of the partner alert. eg:
Code: Select all
alertGet(tPartner, iPartnerIndex, sDpe + ":_alert_hdl.._ackable", bPartnerAcknowledgeable);
where:
- tPartner is the _alert_hdl.._partner value of the alert being processed
- iPartnerIndex is the _alert_hdl.._partn_idx of the alert being processed
- sDpe is the DPE of the alert being processed
An example of these three values when the alertGet function hangs is:
Code: Select all
["alertGet called"][2025.07.22 14:16:09.075000000][1]["MTDIST:_ReduManager.Status.Reason:_alert_hdl.._ackable"]
The tPartner and iPartnerIndex values are being returned from a dpQueryConnectSingle with the following SQL query:
Code: Select all
"SELECT ALERT '_alert_hdl.._system_time',"+
"'_alert_hdl.._value',"+
"'_alert_hdl.._ack_time',"+
"'_alert_hdl.._direction',"+
"'_alert_hdl.._class',"+
"'_alert_hdl.._sum',"+
"'_alert_hdl.._dp_list',"+
"'_alert_hdl.._filtered',"+
"'_alert_hdl.._filter_threshold',"+
"'_alert_hdl.._summed_alerts_count',"+
"'_alert_hdl.._came_time',"+
"'_alert_hdl.._panel',"+
"'_alert_hdl.._ackable',"+
"'_alert_hdl.._ack_user',"+
"'_alert_hdl.._gone_time',"+
"'_alert_hdl.._comment',"+
"'_alert_hdl.._add_value_1',"+
"'_alert_hdl.._add_value_2',"+
"'_alert_hdl.._partner',"+
"'_alert_hdl.._partn_idx'" +
"FROM '{*}' " +
"REMOTE ALL";
Do you think there is something wrong with the way we using the alertGet function? I would have thought that the function would return an error code rather than hang indefinitely if we were using it wrong.
Cheers
Eric