Implementing Notifications in Pega - Simple Guide
In this post, I’ll walk you through a simple Proof of Concept (POC) to implement notifications in Pega.This guide will help you configure notifications to be sent to a group of users based on specific criteria. Step-by-Step Implementation Start by configuring an assignment in your Pega application.
- After configuring the assignment, add the “Send Notification” smart shape to your flow.
- Configure Flow Action Settings
- In the configuration settings of the flow action, select “Use existing.”
- Name your notification and click on the cross-hair icon to create a new notification record.
Create and Configure Notification Record Once the notification record is created, configure the settings according to your requirements. For this POC, the goal is to show the notification to a group of users.
Define Notification Message In the Notification Definition tab, create a message format that suits your needs.
Set Recipients In the Recipients section, select the context as “Use Data Page.” Set the recipient data page to D_pyTeamMembersInMyWorkGroup. Configure the parameter to add the workgroup for which you want to show the notification. Select “Operator ID” as the recipient type and set the recipient property to .pyUserIdentifier.
Channel Configuration In the Channel Configuration section, you can see the display section defined by default. Enable mobile and email notifications if needed.
Advanced Settings In the Advanced tab, control the actions of the user by clicking on the appropriate checkboxes. And that’s it!
Note: The operator who initiates or creates a notification will not be able to view that notification.
That's it, We successfully configured a notification in Pega to be sent to a specific group of users.