Skip to main content

Questions tagged [publish-subscribe]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
39 views

Feasibility and what tools should be put in place for this functionality?

Good morning, I have been asked for a new feature but I am not sure of its feasibility We have a call center that uses Aircall (In Lightning Experience) I was asked that when a colleague picks up a ...
arnaud's user avatar
  • 106
1 vote
1 answer
61 views

Is manual configuration always required when subscribing to Change Data Capture events via the Pub/Sub API?

I'm creating an application that subscribes to events via the Pub/Sub API. So for example, I'm subscribing to /data/AccountChangeEvent to receive notifications of Account changes. For this to work on ...
DomH's user avatar
  • 13
0 votes
0 answers
47 views

Subscribing to a Canvas App published event in an Aura Component controller

We have an Aura component that contains a Canvas App. The Canvas App uses the Canvas SDK to publish events. This is my Aura component's controller... ({ doInit: function (component, event, helper) { ...
nstuyvesant's user avatar
0 votes
1 answer
60 views

Async implementation of EmpApi's Subscribe method

Need to wait the Subscribe operation to be done to get the message from Platform Event to use that message in the Apex call in LWC. You can check the code below. // Apex method call to insert metadata ...
batuayyildiz's user avatar
1 vote
0 answers
118 views

Can't Subscribe to Platform Events using Pub/Sub API from Ruby

Struggling here and would love some advice - likely a configuration issue, but I can't seem to sort it out. I think the basics of the service and auth are working fine - I can make the following call: ...
Scott K's user avatar
  • 31
3 votes
1 answer
398 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
  • 820
-1 votes
1 answer
375 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
89 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
1k 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
  • 123
1 vote
1 answer
610 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,790
0 votes
1 answer
694 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
985 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
1k 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
  • 375
2 votes
1 answer
2k 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
580 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
7k 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
  • 37k
0 votes
1 answer
257 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
811 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
656 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
74 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
  • 37k