function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
indyindy 

Change Platform Event Notification Click.

We are using the platform events to deliver the custom lead notifications through apex class.
Database.SaveResult result = Eventbus.publish(leads);
When the user clicks on the notification message, Salesforce opens the Lead record in the new tab. How can we change this behavior to open the lead on the existing tab that the user is already working on.
Raj VakatiRaj Vakati
Is its Quick action ??? How you are calling the Platform Event Notification Click button on the lead object 
indyindy
Notification is an automated process. i.e If user updates certain parameter on a custom object, the trigger on  the custom object invokes the code to pulishe the notifications.
Raj VakatiRaj Vakati
I am not able to understand where the "notification message" coming. . you mean toast message? Can u share the screenshot pls