Questions tagged [publish-subscribe]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
178 views

Platform Event messages not receiving for bulk record updates with partial success

I have a Platform Event that gets published in the After Update Trigger when a certain field gets updated in the Account record. I also have subscribed to the channel via LWC. So far it shows below ...
Brav's user avatar
  • 708
-1 votes
1 answer
129 views

Notify external system with custom or Standard Platform Event for unhandled exceptions in batch job

There is a simple scenario: we have defined an Apex Batch job that runs at night and we have to notify an external system in the event that an unhandled exception occurs when the job runs. What is the ...
Henry Jones's user avatar
0 votes
1 answer
70 views

Is it possible for a SF to SF gRPC pub sub connection?

All the examples I have come across show client applications in various languages create a connection. Is it possible for a SF to SF gRPC pub sub connection? That is not one using empAPi/CometD
Strong Like Bull's user avatar
1 vote
2 answers
814 views

LMS Subscribe Not Working - Message is not received

I have created LMS to pass the payload between 2 LWC. Message payload is published but payload is not getting received on the subscriber component. Publish LWC is located on Opportunity Record Page. ...
Rose 's user avatar
  • 111
1 vote
1 answer
345 views

Is it possible to subscribe to events in a LWC flow screen component?

I have an LWC FSC (flow screen component). I am trying to subscribe to a CDC event, but the subscription never seems to execute. The same LWC when displayed on a lightning record page does subscribe ...
Nick C's user avatar
  • 6,426
0 votes
1 answer
563 views

Platform event Fired from two objects

We are planning to build a platform event, which should publish changes from two objects. Consider there is an insert/update of records in Account object or Customer__c object. We need to insert/...
SFDC_Admin's user avatar
-1 votes
1 answer
746 views

Does Platform Event count against API Limit if we are publish the events to Non Salesforce System

Does Platform Event count against API Limit if we are publish the events to Non Salesforce System... As far i have understood,Platform Event pubiish doesnt count against API limit in an org. If we ...
Gourishankar's user avatar
0 votes
1 answer
977 views

Can an LWC be both a subscriber and publisher using message channels?

I have two (A and B)LWCs that do not have a parent child relationship. I am able to send messages from A to B. However, when I try to send the message in reverse after processing the results of the ...
Pauline's user avatar
  • 353
1 vote
1 answer
1k views

Platform event not getting subscribed

I have created a platform event with Publish Immediately behavior. It is very basic one. Once it is published, I want to upsert a custom object records. I am publishing it through developer console ...
Jigar Trivedi's user avatar
1 vote
1 answer
519 views

Are there any tools like the Microsoft Azure Service Bus Explorer for monitoring Salesforce Platform Events?

I'm looking for a good way to monitor the Platform Events being published by our org, so I can check that they are actually being published and have the expected content. On Azure, I could use the ...
Brian Kessler's user avatar
4 votes
2 answers
6k views

Platform Event Apex Triggers: Are they always executed in the context of the Automated Process user?

We have been using Platform Events for a while now for certain core processing. When we created our Platform Events I don't recall there being an option to specify how publishing behaved. Publishing ...
Phil W's user avatar
  • 34.1k
0 votes
1 answer
236 views

Platform Events for child is getting published before parent

I am publishing the events in order such that Parent event is published first then the child. Using System.debug I can see that the controller goes to publish event method for Parent and then the ...
AkasaMin's user avatar
0 votes
0 answers
730 views

LWC pub sub : subscribing component fetching stale data from apex

I am having two separate LWC components on the App Page. One is for adding Team members(Call it A 'members-skills') and other for showing all the team members(Call it B 'Team list'). Current ...
Gourav's user avatar
  • 1
0 votes
1 answer
557 views

I am using publish-subscribe model to get the data from one lwc component to another lwc component

in my component B after saving the data to the database I am creating a publish call as shown: handleSubmit(){ var dataList = {}; dataList.Id = this.data[0].Id; dataList.Name =...
sfdcLearner's user avatar
1 vote
2 answers
2k views

Publishing an event to Salesforce via CometD

I am trying to create a external client to publish Platform events to Salesforce event bus. I have used REST API to do the same but I wanted to do it via a true 'Publish'. My guess is that this will ...
JaganY's user avatar
  • 106
0 votes
0 answers
62 views

Update a custom component with standard component events

Can we listen for standard or toast events on LWC with a pubsub e.g. for the purpose of using a standard component to update a custom component?
Luigi Campbell's user avatar
7 votes
2 answers
3k views

Inter-namespace communication with LWC

I need to develop two components, in two separate namespaces, that can interact with each other. As per the product documentation it is not possible (yet) to write a component that uses a component ...
Phil W's user avatar
  • 34.1k