@advancedMessageReport::getStatusCount

Determines the number of notifications with a specific fill-count status.

Syntax:

@advancedMessageReport::getStatusCount(String status)

Parameters:

(String) status: the status of the notifications to count. Possible values are:

Returns:

(Integer) the number of notifications with the specified notification status

Example:

@summary = @advancedMsg::getSummary()

$countPop = @summary::getStatusCount("Population")

$countPen = @summary::getStatusCount("Pending")

$countNot = @summary::getStatusCount("Notified")

$countOneWay = @summary::getStatusCount("Success One Way")

$countTwoWay = @summary::getStatusCount("Success Two Way")

$countFail = @summary::getStatusCount("Failure")

$countNotNotified = @summary::getStatusCount("Not Notified")

$content.message::add("Notification Status: \n")

$content.message::add("Population: " & $countPop & "\n")

$content.message::add("Pending: " & $countPen & "\n")

$content.message::add("Notified: " & $countNot & "\n")

$content.message::add("Success One Way: " & $countOneWay & "\n")

$content.message::add("Success Two Way: " & $countTwoWay & "\n")

$content.message::add("Failure: " & $countFail & "\n")

$content.message::add("Not Notified: " & $countNotNotified & "\n\n")