Creating approval notifications
Notifications are a great way to inform users about events that occur while working on records such as cases, tasks, and knowledge articles so that users have the latest information. As a case business analyst, after configuring an approval, you can create notifications for case approvals for your company. For example, when an approver approves a case, a notification is sent to the case assignee. You can create email-based notifications for case approvals so that the approvers receive an email notification for every new approval request. The approvers can approve, reject, or hold a request through an email.
For information about the concepts related to notifications, see Notifications.
Approval events
BMC Helix Business Workflows provides default notifications for events related to case approvals. The following table describes the approval events for which the default notifications are available:
Event | Description |
---|---|
New Signature | A new signature is generated for a case that is pending for approval. |
Approve | An approver approves a case. |
Reject | An approver rejects a case. |
Reassign | An approver of a case is changed. |
Error | An error exists in an approval signature. |
Cancel | An approver cancels a case approval. |
More Info | An approver requests for more information about a case. |
Hold | An approver puts a case approval on hold. |
More Info Return | An agent provides the required information about a case. |
For more information about the default approval notifications, see Notification-events-and-templates.
Creating an approval notification
The following table describes the tasks that you must perform to create an approval notification:
Task | Action | Product | Reference |
---|---|---|---|
1 | As a case business analyst, create an event to define the event name. | BMC Helix Business Workflows | |
2 | As a case business analyst, create a template to draft the notification message and to specify other details such as event, locale, recipients, notification method, and so on. | BMC Helix Business Workflows | |
3 | As an administrator, specify the approval notification details, for example, approval flow, notification name, and so on. You must map the out-of-the-box Approval - Notify Case Approvers process with an approval flow so that when the approval flow is run, the approval notification is also run. | BMC Helix Innovation Studio |
Before you begin
Ensure that you have created an approval flow so that you can map a notification process with the approval flow. When the approval flow is run, the mapped process is run to send the notification.
To create a notification event
- Log in to BMC Helix Business Workflows.
- Click Settings
.
- Navigate to Notification Configuration > Manage Events.
- On the Manage Events page, click Notification Event.
In the Create Notification Event pane, complete the instructions as described in the following table:
Field
Action
Event Name
Enter a name for the notification event.
Notes:
- Enter an event name that matches one of the default notification events. This ensures that the event is automatically passed to the Approval - Notify Case Approvers process and that the notification is sent.
- You can create only one event with an event name for a company.
- If you create a notification event for email-based approval, you must enter the event name as Email Based Approval.
Status
Select one of the following statuses for the event:
- Enabled—The event is ready to use.
- Offline—The event is not available for use. You can enable it for use at any point.
- Delete—An event with the Delete status remains in the system, but it cannot be used in the application.
For information about deprecated event statuses, see Deprecated statuses for events and templates.
Company
Select the company for which you want to create the approval notification, such as Calbro Services.
Best practice: BMC recommends that you do not create approval notifications for the Global company.
- Click Save.
The event name is defined. After creating the approval event, you create a template and associate the approval event with the template. The approval event is automatically passed to the out-of-the-box process and is associated with the template. When the notification is triggered, the template is used to send the notification.
To create a template for a notification
- Log in to BMC Helix Business Workflows.
- Click Settings
.
Navigate to Notification Configuration > Manage Templates.
- On the Manage Templates page, click Notification Template.
In the Create Notification Template pane, enter value for the Template Name, and complete the following fields:
Field
Action
Module Name
Select Case - Approval for approval notifications.
Default Notification Method
Select the method in which the approval notification should be sent.
Event options
Event
Select an approval event for which you want to send the notification, such as Approve.
Note: If you are creating a template for email notifications, select the Email Based Approval option.Status
By default, the status that you selected for the event is displayed. In the template, you can change the status to any of the following values:
- Enabled—The template is ready to use.
- Offline—The template is not available for use. You can enable it for use at any point.
- Delete—A template with the Delete status remains in the system, but it cannot be used in the application.
For information about deprecated event statuses, see Deprecated statuses for events and templates.
Company
By default, the company that you selected when you defined the approval event is displayed. You cannot change the company in the template. For example, while creating the approval event, you selected the Calbro Services company. In the template, in the Company field, Calbro Services is displayed.
Recipients
Recipients
Select the recipients. The recipients are displayed based on the Case - Approval module and any additional recipients that you have specified. For example, if you specified Allen Petersen as a recipient, the recipient list displays the following predefined and additional recipients:
- Approvers
- Assigned Group's Manager
- Assignee
- Assignee's Manager
- Assigned Group
- Allen Petersen
Add Recipients
Click this option to add recipients other than the out-of-the-box recipients. In the Add Recipient pane, perform the following steps:
- From the Recipient Type list, select the type of recipient that you want to add.
- From the Company list, select the required company, and perform any of the following steps:
- To quickly add an individual as a recipient, use the search text box to add the recipient.
- To narrow down the search results, from the Business Unit, Department, and Support Group lists, select the required values, and add the recipient.
- Click Save.
These recipients are displayed in the Recipients section.
Note: In a notification template, you cannot add recipients for the Social, Service Level Management - Case or the Service Level Management - Task modules.
To draft the notification message, perform the following steps:
- To create the template for an alert notification, click the Alert tab, and enter the message in the text box.
- To create the template for an email notification, click the Email tab, and complete the fields.
In the email or alert content, to insert placeholders for current values, click Insert Expression
, expand the General menu, and add a value.
For example, you are creating a template Case approved and in the email content, you want to display the priority of the case. In Insert Expression, from General menu, you add.
(Optional) After you create the template, to draft the notification messages for different locales, click Localized Message, complete the fields, and save your message.
On the Alert and Email tabs, by using the Locale field, you can filter the messages based on the selected locale.
Click Save.
The template is ready for use. After creating the template, you specify the approval notification details, for example, notification process, notification event, and so on for an approval flow. When the approval flow is run, the associated process is also run to send the notification.
To specify the approval notification details
- Log in to BMC Helix Business Workflows.
- Click Settings
.
- Select Approvals > Notification Configuration.
On the Approval Notifications page, click New.
In the New Approval Notification window, complete the following fields:
Field
Action
Record Definition Name
Select com.bmc.dsm.case-lib:Case to create the approval notification.
Notification Name
Enter a name for the approval notification.
Notify On
Select the event for which you want to send notifications.
Note: The event that you select from Notify On and the approval event you created in BMC Helix Business Workflows should be same. For example, if you created the Approve event, from the Notify On list, select Approve.Use Email based Approval template
Select this field to send notifications through emails. For more information about how to configure email notifications to approve the request, see Configuring an email notification.
This field is displayed only if you select New Signature as a value for the Notify On field.Email Outgoing Profile
Select the profile that uses the corresponding outgoing mailbox to send email notifications.
This field is displayed only if you select the Use Email based Approval template check box and New Signature as a value for the Notify On field.Template
Select the template to send notifications in an email.
This field is displayed only if you select the Use Email based Approval template check box and New Signature as a value for the Notify On field.Notification Expression
In addition to the Notify On event, specify the conditions that control when the notification should be sent, such as
.
Global Notification
Select this check box to apply a notification configuration for all approval notifications.
If you select this check box, you do not need to specify an approval flow in the Approval Flows field.Approval Flows
Select the approval flows for which the approval notification should be run, such as select Manager Approval Flow.
Send To
Select one of the following options to notify users:
- All Approvers—Select this option to notify all the approvers of a case that is pending for approval.
- Other—Select this option to notify users other than the approvers. The list below Other displays fields from the case record definition. Select a field that contains the user to whom you want to notify. For example, Contact.
Note: All the recipients that you specify in Send To and while creating the notification template receive the approval notification.
For example, in Send To, you select All Approvers. In the notification template, you select Approvers and add Allen Petersen as recipient. When the event occurs, the approval notification is sent to Allen Petersen and all the approvers of the case.
Notification Method
Select Process to create approval notifications.
Process Name
Select Approval - Notify Case Approvers to create approval notifications.
Enabled
Select Enabled to activate the approval notification.
- Click Save.
The process of creating an approval notification is now complete.
Configuring an email notification
To enable email notifications for the approvers, you must perform the following configurations:
Task | Action | Product | Description |
---|---|---|---|
1 | Configure incoming and outgoing mailbox | BMC Helix Platform | Configure the incoming and outgoing mailbox to receive email notifications for the approval requests or to send a reply to recipients. For information about how to configure a mailbox, see Configuring incoming and outgoing email.
|
2 | Configure the email profiles | BMC Helix Platform | Configure the outgoing profile to send email notifications to multiple outgoing mailboxes. For information about how to configure the outgoing profile, seeConfiguring email profiles and templates. Ensure that you select the Case Management Service application while configuring the outgoing email profile. |
3 | Configure a notification event and templates | BMC Helix Business Workflows | Create a notification event and create templates that can be used to send notifications in an email. |
4 | Create approval notifications to notify approvers | BMC Helix Business Workflows | Specify approval notification details to notify approvers when a new signature is generated, approval request is approved, rejected, reassigned, an error exists in an approval signature, and so on.
|
Related topics