Questions tagged [notification]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7
votes
1answer
139 views

Retrieve standard and custom notifications of a user in Apex

Is there a way to fetch the unread bell icon notifications of a user in Apex? We have a community built on the Build Your Own (LWR) template where we need to implement an LWC component that displays ...
0
votes
0answers
24 views

Questions about use Salesforce API to get Notifications

We want to get notifications information from Salesforce in our VF component. After search we found Streaming API and REST API can get notifications information. But both of them have issues. For ...
0
votes
1answer
41 views

Send email alert when opportunity stage equals 'closed lost'

I have created an email alert, an email template and a workflow. The workflow is Active, with the following rule (for testing): Opportunity: Stage EQUALS Closed Lost Evaluation criteria: Evaluate ...
0
votes
1answer
25 views

Types of notification that I can use in APEX

I am just wondering, what are all the notifications that I can use with Salesforce/APEX? I mean, currently I can add notification in a lightning component with the (lightning:notificationsLibrary) or ...
0
votes
1answer
51 views

How to send a custom notification without an actual redirect?

I want some of my users to notify group of users on the community as well as internal users about new features that we implement every month. These are purely informational notifications and don't ...
0
votes
1answer
34 views

Custom notification for all user on the record page [closed]

I need to create a notification for the object record page. The idea is that there are two or more users on the record page. When one of them changes record status, toats message must be shown for ...
1
vote
1answer
71 views

What is supposed to happen when you click on a notification (in the Lightning website)?

This is what happens in our org, when you click on a notification that was produced by a process in Process Builder as a reaction to the creation of a CaseComment: INVALID_TYPE: sObject type '...
0
votes
0answers
24 views

How should I designate CustomNotification's PageRef?

public void alertCompleteBatMes(Set<String> recipientsIds, String targetPageRef) { // Get the Id for our custom notification type CustomNotificationType notificationType = [...
0
votes
0answers
26 views

list of notifications sent to a profile

I would like a list of all the notifications the Sales Team receives. This would include things like weekly reports emails/notifications, and so on. I checked within "Salesforce Notifications&...
0
votes
0answers
15 views

Construct Page Reference for a Survey Response Page

I am attempting to use a custom notification to send a survey reminder to a Salesforce user. I cannot figure out how to designate the page reference argument to the flow action that generates the ...
2
votes
1answer
93 views

I receive an empty list of notifications using the Connect REST API endpoint: /connect/notifications

I want to get all the current user's notifications to display them in a LWC component. For this, I tried to make a REST API callout from Salesforce to the same Salesforce org using Connect REST API ...
1
vote
0answers
62 views

Cypress theme doesn't show notification bell

We've built an Experience/Community for a client using Salesforce's Cypress theme. Everything's great, except the notification bell doesn't appear no matter what. The Cypress theme thumbnail shows a ...
0
votes
2answers
59 views

How to stop New Lead alert to queue?

We have an 'Orphan Leads' Queue, which once a user is deactivated, we move all his open leads to that queue. I don't have the setting to send alert to the members But when I change the owner ship (I ...
0
votes
0answers
103 views

Duplicate object names in the same package, please rename one

Trying to retrieve metadata from my developer Org and am getting the below Warning. Any idea how I can resolve this? Duplicate object names in the same package, 'apexEmailNotifications/...
0
votes
1answer
70 views

Difference between Notification Builder Platform and Events (Generic Events, Platform Events, PushTopic Events)

I want to send custom notifications to users in Salesforce when certain conditions are met. My background is not technical but I know how to use APIs (using API clients), and I've seen that I can send ...
0
votes
1answer
49 views

How create notification after 3 days in ten o'clock? [closed]

I created process builder, but notification after 3 days, but I need afrer 3 days in ten 0'clock!
1
vote
0answers
19 views

Is it possible to check if a popup notification was read from the client salesforce?

We want to disaply custom popup notifications from a scheduler class which runs hourly, but we don't want to spam the client with notifications. Is it possible to check if a popup notification was ...
0
votes
0answers
33 views

Nonsense instead of numbers in approval notification email

I have approval process, and when notification message is sent, there instead of numbers, it's just nonsense. Example : Amount currency: RUB ٧٣٩٬٧٠٠٬٠٠٠٫٠٠ Margin: ٣٢% What could be the reason?
0
votes
1answer
243 views

iOS Push Notification - sfmc_handle() not called when app was closed

If the app is already open or in the background, and a push notification is sent to the device then sfmc_handle(_ url: URL, type: String) is fired properly. Everything works as expected as the link ...
0
votes
0answers
15 views

Trying to send Chatter notifications when through Marketing Cloud Journey builder when call to action button selected true by prospect

Can I send a chatter notification through Journey Builder when a prospect clicks a call to action button based on journey builder criteria?
1
vote
1answer
69 views

Unhandled errors are not coming to user designated for 2GMP

Apex documentation has contradicting information about Second Generation(2GP) Package Apex Unhandled Exception support. This page states that Apex exception errors don’t trigger email notifications. ...
0
votes
1answer
424 views

Display a Toast message if a checkbox is TRUE

I've been trying to figure out if it is possible to show a toast message on a contact record if a checkbox is true (or if a text field is not blank). I just want the toast message to show once the ...
0
votes
0answers
63 views

Core custom Navigation action in Salesforce Flows problem in community

I am having an issue where I'm trying to use the core custom notification action in a flow (Link to that here) in a Record save flow action. when the user clicks the custom notification they've ...
0
votes
1answer
40 views

How to show on the page about the successful addition of an item to the database?

After adding a record to the database, I am trying to display a success notification, but I am running into an error. What have I done wrong? Here is my code: //cmp <aura:component controller="...
0
votes
0answers
67 views

Sending Mobile Push notification to external IOS app using connected app from Apex?

I have created a connected app with Push Messaging enabled and adding all Token authentication settings details like Key Identifier, team identifier, P12 certificate related to IOS. With these ...
0
votes
2answers
678 views

Flow - Custom notification action is not allowed

I have this error message when I try to debug a flow that get records Id and send a custom notification : Error Occurred: Custom Notification Action is not allowed I googled this error and found that :...
1
vote
1answer
388 views

A click on a bell icon notification in Communities (now called Digital Experiences) doesn't navigate

Having managed to get notifications to appear by not including a "state" and so using: Map<String, Object> pageRef = new Map<String, Object>{ 'type' => 'comm__namedPage', ...
0
votes
0answers
51 views

Einstein bot chat notifications

I have an Einstein chat bot deployed on my website and need to take some action when the chat session ends. Not when the chat window is closed... just when the chat has ended (the window can still be ...
0
votes
1answer
178 views

Notifications from process builder fire when Owner field is updated manually, but not when Owner is updated via process builder

I have a process builder set up to do the following on a custom object, Referral: If the custom field "Referred To" changes, update the Owner field to a queue (the queue id is dynamic based ...
0
votes
1answer
170 views

Number of notifications in the bell icon?

In the salesforce documentation It mentioned that it will show only 20 notifications in the bell Icon, but I see more than 20 notifications. can some one confirm how many notifications in the bell ...
7
votes
2answers
1k views

Bell icon in communities: syntax of the setTargetPageRef string?

The Winter '21 CustomNotification Class offers two ways to set the target navigated to when the message displayed under the "bell" icon is clicked: setTargetId(Id targetId) - Sets the ...
0
votes
1answer
158 views

Bell notification when file is attached to an account [closed]

I need to create notifications whenever a file is uploaded to an Account. I need this notification to be shown in the bell icon. Thanks Satish
4
votes
0answers
274 views

Showing custom notification in Community | Theme : Build your own || Custom apex notifications

I want to show custom notification through apex in the community. Community is having custom theme(all lightning components). I know how to trigger apex custom notifications for the internal users. ...
1
vote
0answers
140 views

Track notifications limit usage

We use two ways to trigger push notifications - APEX and flow/process builder. There are limits to the number of these push notifications (10 000 per hour). Is there a way to monitor the current usage ...
1
vote
1answer
146 views

Custom notification Limit on Data Loading

I have a process builder which fires custom notification to case owners when the case is updated.Its working fine in normal scenario. But I needed to Data Load(Update) 200000+ records which inturn ...
2
votes
1answer
1k views

Bulk sending CustomNotifications using APEX

I could not find any post relating to this any help will be appreciated. Is there anyway to bulk send custom notifications from apex without using a process builder or API? If I use the following code,...
0
votes
1answer
1k views

Browser notifications for omni channel chats in Lightning Experience

Is this possible using settings available in the UI or does this require a custom component to be created? I imagine many have this issue, whereby unless the service agent spends all their time in the ...
3
votes
2answers
2k views

Custom Notification Recipients to New Places with Page Reference Navigation

In release Winter'21 was introduced new Target option for Custom Notifications (see here). I would like to have a specific Community page as Target Page Reference. Still, I can't figure out the format ...
6
votes
1answer
389 views

Custom Notifications not working on BatchApexErrorEvents

When long-running batches fail I want the starting user to be notified in the org using Custom Notifications. Therefore I added the marker-interface Database.RaisesPlatformEvents to the Batch class ...
1
vote
1answer
584 views

Dispatch Event or Apex Call is not working in LWC Callback

I have developed an lwc which will trigger an apex call/display a toast message when a Platform event notification is received from the server. I am following steps mentioned here: https://developer....
1
vote
1answer
1k views

Turn Off Bell Notification when comment is added on Post

I have created a post on case object record. When any user adds comment to that post, I receive a bell notification like below I have checked if there are any automated process that is firing this ...
1
vote
0answers
30 views

Creating Task programmatically its not showing up in Universal Notification Service (UNS) bell for the target user

When I create and assign a task programmatically to a user, the notification does not show up in the Universal Notification Service (UNS) bell for the target user. Below the code to execute anonymous ...
0
votes
1answer
28 views

Salesforce equivalent of setFormNotification() in Dynamics for conditional record page alerts?

My employer is beginning the process of switching over to a Salesforce org from our current Dynamics CRM 2015 on-prem solution. We have a situation in Dynamics where we would like to use ...
7
votes
1answer
2k views

Can we query Custom Notifications sent to a user or channel?

I know we can query Custom Notification TYPES or we can send custom notifications through apex and/or Rest API. But can we fetch the open (or even all) notifications sent to a user? For further ...
1
vote
1answer
2k views

Notifications Bell icon is not displayed in Community compact header

I have Customer Service template community with Stella theme. We use Partner Community License. I want to display notifications in a compact header and selected the checkbox, but it is not displayed. ...
1
vote
1answer
481 views

Tapping on the notification does not launch the App if the App is killed/closed forcefully after getting the notification

MobilePush (Android) SDK (v.7.1.0) We are using Full Control Customization Notification handling by following the document noted here: https://salesforce-marketingcloud.github.io/MarketingCloudSDK-...
3
votes
0answers
68 views

Why do notification types have a name?

I'm asking about the "bell icon" notifications here. This Getting your users attention with Custom Notifications article illustrates the UI where you have to add a custom notification type before ...
1
vote
2answers
929 views

Notification after Knowledge Article is Published

I have a requirement to send custom notification to a group every time knowledge articles are published. Now my problem is that when I am writing Apex trigger (After Insert, After Update, Before ...
0
votes
1answer
140 views

Daily Popup Notification of the upcoming task within 7 days

I have been given a task for having notification of the upcoming task in UNS bell notification popup 1. when User logged in into app, then user should receive pop-up notifications for upcoming ...
1
vote
1answer
558 views

How to allow a Community user to generate a notification?

With Communities, you get this internal user to external (community user) notification UI "for free" via a click on the bell icon: Before we start creating something ourselves for communication in ...