Example of creating custom notifications


Notifications are a great way to inform users about certain events. As a case business analyst, you can create notifications for cases, tasks, knowledge articles, milestones, and approvals. To create a notification, you must first create a notification event to define the event name. Then you create a notification template to provide a structure and format to the notification content and associate the notification template with the event. The steps after creating the template differ based on the module for which you want to create the notification. For more information, see Notifications.

In this example, the following scenarios are explained:

  • Scenario 1—Notification for change in a case priority
  • Scenario 2—Notification for change in a knowledge article status

Scenario 1: Notification for change in a case priority

Hannah is a case business analyst in Calbro Services. She wants a notification to be sent to a case assignee when the priority of a case is changed to Critical.

To create the notification, Hannah creates the Case Priority Critical event and Case Priority Change notification template as shown in the following figures:

Click to view the event details

Example_case notification event.png

Click to view the template details

1902_case notification template.png

After the event and template are created, Allen, an administrator for Calbro Services, creates a notification process with the trigger condition as Example_case notification trigger condition.png. The following figures show the process details:

Click to view the process

Example_case notification process designer view.png

Click to view the Input Map section details

Example_case notification_brick fields.png

Then, Hannah registers the process with the process library and maps it with the Human Resources Flowset as shown in the following figure:

Click to view the mapping details

Example_process flowset mapping for case notification.png

To ensure that the notification process is run for cases, Hannah creates the Name change case template for the Human Resources Flowset as shown in the following figure:

Click to view the template details

Example_case template for notification.png

When a case agent creates a case by using the case template and another agent changes the case priority to Critical, the notification process associated with the Flowset is run. The process uses the template associated with the event to send the notification.

Scenario 2: Notification for change in a knowledge article status

Hannah is a case business analyst in Calbro Services. She wants a notification to be sent to an article assignee when the status of a knowledge article is changed.

To create the notification, Hannah creates the Article Status Change event and Article Status Change notification template as shown in the following figures:

Click to view the event details

Example_article notification event.png

Click to view the template details

1902_article notification template.png

After the event and template are created, Allen, an administrator for Calbro Services, creates a notification process. The following figures show the process details:

Click to view the process

Example_article notification process.png

Click to view the Input Map section details

Example_article notification_brick fields.png

Then, Hannah creates the Article status change rule for the notification as shown in the following figures:

Click to view the rule details

Example_article notification rule.png

Click to view the trigger condition defined in the rule

Example_article notification trigger condition.png

When an agent changes the status of an article, the rule is triggered. The process associated with the rule is run and the process uses the template associated with the event to send the notification.

Related topic

Creating-custom-notifications

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*