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.

Best practice
BMC recommends that you do not modify the default events and templates for approval notifications. If you modify them, after upgrade, you lose your changes.

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

  1. Log in to BMC Helix Business Workflows.
  2. Click SettingsGear icon.PNG.
  3. Navigate to Notification Configuration > Manage Events.
  4. On the Manage Events page, click Notification Event.
  5. 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.

  6. 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

  1. Log in to BMC Helix Business Workflows.
  2. Click SettingsGear icon.PNG.
  3. Navigate to Notification Configuration > Manage Templates.

    Note

    BMC Helix Business Workflows provides a sample template Email Based Approval for email-based approval notifications. You can refer to this template while creating templates for email-based approval notifications.

  4. On the Manage Templates page, click Notification Template.
  5. In the Create Notification Template pane, enter value for the Template Name, and complete the following fields:

    Note

    You can create only one notification template with the same event name, template name, module, and company combination.

    For example, you create a notification template Notify on case status change. While creating the template, you select the Case-Approval as a value for the Module Name field, Approve as a value for the Event field, and Calbro Services as a value for the Company field. You cannot create another template with the same values for the Template Name, Module Name, Event, and Company 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:

    1. From the Recipient Type list, select the type of recipient that you want to add.
    2. 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.
    3. 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.

  6. 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 Expressionlightning icon.png, 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 1902_Case priority icon.png.

  7. (Optional) After you create the template, to draft the notification messages for different locales, click Localized Message, complete the fields, and save your message. 

    Note

    Creating localized messages ensures that when a case agent changes the browser locale to one that BMC Helix Business Workflows supports, the notifications are sent in that locale. If a notification is not available for that locale, the notification is sent in English.

    On the Alert and Email tabs, by using the Locale field, you can filter the messages based on the selected locale.

  8. 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

  1. Log in to BMC Helix Business Workflows.
  2. Click SettingsGear icon.PNG.
  3. Select Approvals > Notification Configuration.
  4. On the Approval Notifications page, click New.

    Note

    You must create a new notification configuration that is exactly same as any of the following out-of-the-box configuration:

    • BWFA New Signature
    • BWFA Reject
    • BWFA Approve
    • BWFA Reassign
    • BWFA Cancel
    • BWFA More Info Return
    • BWFA Hold
    • BWFA More Info

    Before you create a new notification configuration, you must delete the out-of-the-box configuration.

  5. 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 1902_Condition for approval notification.png.

    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.

  6. 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.
Ensure that you update the following fields with specific values while configuring your incoming and outgoing mailbox:

  • While configuring your incoming mailbox, on the Action Configuration tab, update the following fields with specific values:
    • Email Action—Parse
    • Use Original Template Format—No
    • Reply with Result—Yes
    • Reply with Entry—No
    • Enable Modify Actions—Yes
    • Force Default Workflow Form—No
  • While configuring your outgoing mailbox, on the Basic Configuration tab, update the Associated Mailbox Name field with the value of the incoming mailbox that is used to receive replies to the outgoing emails.
  • While configuring your outgoing mailbox, on the Advanced Configuration tab, update the Reply To Address field with the value of the email address to which the replies must be sent.

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.
Ensure that you update the following fields with specific values while configuring the approval notifications:

  • Notify On—New Signature
  • Email Outgoing Profile—Name of the profile that uses the corresponding outgoing mailbox to send email notifications.


Related topics

Approvals

Approving-or-rejecting-cases

 

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