View alerts
Alerts are raised to notify the users of the certain important tasks. The users must have quick access to alerts immediately after they log on to the application.
Solution
The following section describes APIs, user exits, services, and other components.
When the home
page loads, the getAlertStatisticsForUser
API retrieves
the total number of unresolved alerts that are assigned to the current
user. It also retrieves the total number of unresolved alerts from
the queues to which the current user or the user's department is subscribed.
Additionally, the API also gives statistics for alerts that are assigned
to the current user and alerts that are owned by the current user's
organization, even if the current user is not subscribed to any queues.
The alerts are then grouped by Exception Type.
The getExceptionList
API
is called to display a list of alerts that match the input criteria
such as AssignedToUserKey
, ExceptionType
, QueueKey
.
When
the user selects a queue, the AssignedToUserKey
and
the QueueKey
are passed in the input to the getExceptionListForOrder
API
to display all alerts that belong to the selected queue.
When
the user selects an alert type, the AssignedToUserKey
and
the ExceptionType
are passed in the input to the getExceptionListForOrder
API
to display all alerts that are of the selected type.
If a single
alert belongs to the selected queue or type, the getExceptionDetails
API
is called to display the alert details.
getNextException
API
retrieves the next alert to be assigned to the user based on the input
criteria. Only unassigned alerts that belong to the queues subscribed
by the logged in user are considered. If two or more alerts match
the input criteria, the following criteria are considered to pick
the next alert:- The alert with the highest priority is picked first.
- The alert with an earlier follow-up date is picked next.
- The alert with the earlier creation time is picked next.
Implementation
The following section describes the rules that you must configure.
None.
End-user impact
The user can quickly access required alerts and follow-up the associated tasks with ease.