Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
hi community,
i want to make a summary of alert of an equipement that is composed by 3 devices, that means if a have an alert on 1 device or more i should calculate the sum of alert of all of them.
PS : i want to know also if an alert appear or disapper.
Solved! Go to Solution.
Hi,
Check this service, maybe it will help you:
var params = {
maxItems: undefined /* NUMBER */,
onlyUnacknowledged: undefined /* BOOLEAN */,
query: undefined /* QUERY */,
name: undefined /* THINGNAME */,
property: undefined /* STRING */,
onlyAcknowledged: undefined /* BOOLEAN */
};
// result: INFOTABLE dataShape: AlertSummary
var result = Resources["AlertFunctions"].QueryAlertSummaryForThing(params);
Regards,
Raluca Edu
Hi,
Check this service, maybe it will help you:
var params = {
maxItems: undefined /* NUMBER */,
onlyUnacknowledged: undefined /* BOOLEAN */,
query: undefined /* QUERY */,
name: undefined /* THINGNAME */,
property: undefined /* STRING */,
onlyAcknowledged: undefined /* BOOLEAN */
};
// result: INFOTABLE dataShape: AlertSummary
var result = Resources["AlertFunctions"].QueryAlertSummaryForThing(params);
Regards,
Raluca Edu
Hi @anassNasser.
If the previous response answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.
Regards.
--Sharon