You need to sign in to do that
Don't have an account?

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.
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.
Is its Quick action ??? How you are calling the Platform Event Notification Click button on the lead object

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.
I am not able to understand where the "notification message" coming. . you mean toast message? Can u share the screenshot pls