Questions tagged [pushtopic]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
32 views

Change Event Trigger is not available for FeedItem

I am trying to create a change event trigger for the feed item, it's not available for creation. For other objects it's available, but missing for feed item, FeedComment, and some other standard ...
user avatar
0 votes
0 answers
45 views

empApi PushTopic channel does not exist after successful subscribe

I am trying to debug a flaky connection to a PushTopic. Usually it works and is rock solid, except when it doesn't. The connection is being made from LWC after importing lightning/empApi. Occasionally ...
user avatar
0 votes
1 answer
66 views

How to use FIELDS(ALL) with SOQL PushTopic

I'm trying to test out creating a PushTopic within the developer console using API v54.0. I want to create a PushTopic to retrieve all fields inside the Account object when a create, update, delete or ...
user avatar
6 votes
2 answers
541 views

Will Change Data Capture eventually replace PushTopics/Streaming API?

I need to notify an external system component about changes in Salesforce data. I am confused by the fact that there exist two seemingly competing solutions in Salesforce for that. Both look very ...
user avatar
0 votes
0 answers
17 views

no event sent from listening to a pushtopic for PendingServiceRouting

I am following the guide here to set up external routing. The emp connector appears to succeed in listening to the push topic created by producing the output "Subscribed: Subscription [/topic/...
user avatar
0 votes
1 answer
133 views

Unable to subscribe to streaming platform event in lightning app using emp api

I am unable to subscribe to events using emp API. Taking a look at emp api here I have the following: My HTML: <template> <lightning-card title="StreamingPoc1 Example" icon-name=...
user avatar
  • 217
1 vote
1 answer
21 views

NotifyForFields what is the difference between Select vs Reference type?

There're multiple notification types for push topics defined by the field NotifyForFields. I'm trying to understand the difference between NotifyForFields Set to Select and NotifyForFields Set to ...
user avatar
  • 111
1 vote
1 answer
258 views

Streaming Push Topics - Could not load Push Topics

My colleagues and I are unable to get into the workbench page https://workbench.developerforce.com/streaming.php as we get the following error: I've checked the workbench code and all it does is to ...
user avatar
3 votes
1 answer
95 views

Which feature is best/recommended to capture record changes in AppExchange app which Integrates with external system?

As part of integration in AppExchange, we would like to capture Salesforce record changes in external system when some change happens in Salesforce records. There are multiple ways to inform external ...
user avatar
  • 2,212
1 vote
1 answer
38 views

Cold-start a PushTopic with historical records

I have little experience with Salesforce, so excuse me if I'm not using the correct vocabulary. I'm setting up a PushTopic to export Salesforce objects, and we have a connector that is consuming the ...
user avatar
  • 11
1 vote
1 answer
98 views

PushTopic record not getting copied over while creating/refreshing the full sandbox

We create trial orgs from environment hub with managed packages and related configuration. This configuration also includes a PushTopic record. However while creating/refreshing full sandboxes from ...
user avatar
  • 195
1 vote
1 answer
165 views

Salesforce Streaming API - Relationship query

One of the limits of PushTopic query is not being able to have relationships in the soql. I'm wondering if there is any solution to this or any alternative to PushTopic. I'm looking for a solution ...
user avatar
  • 13
2 votes
1 answer
46 views

PushTopic for OpportunityContactRole

I'm creating PushTopics for streaming api and have trouble creating one for OpportunityContactRole object. Executing the following apex code in Developer Console Window PushTopic pushTopic = new ...
user avatar
  • 121
0 votes
1 answer
170 views

what is standard way to create Push Topic in Salesforce

In My Salesforce Org I have not created any PushTopic but when i query on PushTopic it show 100 Push Topic. I have not found any trigger in my org which creates push topic. Is Their some standard ...
user avatar
  • 53
0 votes
1 answer
932 views

403::Unknown Client Salesforce Workbench Push Topic

I have an object in Salesforce that I am trying to subscribe to using a Push Topic that I created. But when I try to subscribe to that push topic from Workbench I get 403::Unknown Client exception. ...
user avatar
2 votes
0 answers
95 views

Push Topics Constant Streaming

I am trying to understand why I have a constant stream of successful handshakes within an org even though I have not explicitly subscribed to a topic. Workbench spews hundreds of successful handshakes ...
user avatar
  • 21
0 votes
0 answers
39 views

Cometd does not receive messages on a Filtered Pushtopic for custom profile

I have a lightning cometd. When I use pushtopic without filter for a custom profile it works. When I add filter, it does not receive the messages. If I login as system admin, the filtered pushtopic ...
user avatar
0 votes
1 answer
100 views

Not getting updated related records after receiving event sent over Push Topic

I have created one Push Topic for one of my custom objects i.e. LogInfo. This custom object is responsible for storing the status of Apex Batch job. So the object stores the Job status from ...
user avatar
  • 197
1 vote
0 answers
135 views

Push topic connection in salesforce is time out within few seconds (sandbox - Winter 20) and gives the error 403::Unknown Client

I'm trying to connect push topic server via workbench. But connection is dropping within few seconds. The permission required for the login user to connect streaming API was given in the sandbox. What ...
user avatar
3 votes
0 answers
28 views

What sort of animals are PushTopics?

We have verified that PushTopic exhibit a strange behaviour: if you have a PushTopic with a given name in your org, and you try to insert a PushTopic with the same name in a test, you get a failure. @...
user avatar
  • 1,612
2 votes
1 answer
389 views

Streaming API to refresh a Lightning page/App

I want a functionality which automatically refreshes a lightning page when there is a update in the object record details. I'm trying with Streaming API to achieve this. But the page is not refreshed ...
user avatar
  • 21
0 votes
1 answer
60 views

MCCordovaPlugin, getting Push Notifications only when contactKey is set to my phone number?

I don't remember if my phone number is somehow tied to sending push notifications or not. At this point, I am always able to successfully send and receive outbound push notifications if i ...
user avatar
5 votes
0 answers
479 views

System.QueryException: sObject type 'PushTopic' is not supported

As part of our managed package we have a post-install script that inserts push topics to support the integration between our solution and SF. Before today this post install script worked fine. I was ...
user avatar
  • 295
1 vote
1 answer
1k views

How to solve inconsistent 403::Unknown Client error on subscribe when using lightning:empApi

Every other time I attempt to use the lightning:empApi component to subscribe to a Push Topic channel the EMP API component reports error '403::Unknown Client' After the EMP API component reports the ...
user avatar
  • 757
1 vote
1 answer
41 views

Pushtopic transactions out of order

We are seeing an "update" transaction coming before the "insert" transaction. Replay ID of Insert is higher than the Update Replay Id. Is this expected to happen?
user avatar
  • 11
1 vote
0 answers
361 views

Push topic and empApi filtered subscription not working after record page refresh (F5) [duplicate]

I need to use filtered subscription using lightning:empAPI for Push Topic notifications. But it does not work with Id filter after records page refresh (F5) whereas when it subscribes on the first ...
user avatar
  • 33
1 vote
0 answers
803 views

Streaming API PushTopic VS Trigger and API Callout

I haven't used the Streaming API yet. I was just researching on it actually and I like the option for PushTopics. However it's not clear to me what's the advantage/difference using that versus a ...
user avatar
  • 4,441
0 votes
1 answer
342 views

Is it possible to setup a PushTopic for all columns in a table?

Is it possible to setup a push topic to monitor all columns in a table? e.g. use the SOQL query SELECT * FROM Account or SELECT Id, * FROM Account When I try this I get the following error which ...
user avatar
4 votes
3 answers
1k views

How to make Filtered Subscriptions work for empAPI and Push Topics?

I have a very simple component: PushTopicTest.cmp <aura:component implements="flexipage:availableForAllPageTypes" access="global"> <lightning:empApi aura:id="empApi"/> <aura:...
user avatar
  • 501
0 votes
1 answer
103 views

Streaming API to transfer FILES to online cloud storage

Using the SF documentation I have created a custom object with the FILES related list. Using workbench I can successfully see that it receives a message when a new record on that new object is ...
user avatar
  • 335
2 votes
0 answers
278 views

Error : 403 Unknown client JAVA

I have a salesforce developer account . I was trying to use push topic notifcation via Java code as explained in https://github.com/SalesforceSFDC/Salesforce-Streaming-API/blob/master/...
user avatar
2 votes
1 answer
248 views

Verify PushTopics are firing

Is there a way to check whether PushTopics are pushing their topics? I have verified that the PushTopics exist in the database SELECT Name,Query FROM PushTopics But is there a straightforward way to ...
user avatar
3 votes
1 answer
1k views

Subscribe to multiple channels using CometD

I'm trying to subscribe to multiple channels with CometD. I'm using the CometD static resource and syntax as per the Trailhead project: https://trailhead.salesforce.com/projects/workshop-platform-...
user avatar
1 vote
2 answers
513 views

Pushtopic dynamic SOQL

Our front end web application (Salesforce treated as background in this case) makes a call to Salesforce when customer submit an application. The application process might take upto 2 minutes , so the ...
user avatar
  • 389
6 votes
0 answers
175 views

Push topic message event type is always "updated" even when inserting object

I'm subscribed to two different push topics, and one of them doesn't register any event types as "Create" only as an "Update". My config for the working push topic is as follows: { "Name": "...
user avatar
0 votes
1 answer
303 views

Do I need to re initialize longpolling client with new access token on every connection session timeout?

Sample code how I'm initializing LongPollingTransport to create Bayeux client for subscribing pushtopic , LongPollingTransport transport = new LongPollingTransport(options, httpClient) {...
user avatar
1 vote
1 answer
447 views

Unable to create Salesforce PushTopic wih query on Event object

I'm trying to create a PushTopic on Event object using REST API with data { "Name" : "EventTopic", "Query" : "SELECT Id,Subject,Location,StartDateTime,EndDateTime,IsDeleted,IsAllDayEvent ...
user avatar
  • 113
0 votes
1 answer
731 views

What is the differences between pushtopics and platform events? [duplicate]

what is the differences between pushtopics and platform events? When i can use the pushtopics and when i can use the platform events? thanks
user avatar
1 vote
2 answers
741 views

How to test PushTopic creation

I'm running into an error - duplicate exists - while trying to test my PushTopic creation class. This is an known issue from 4 years ago (PushTopic Test: Duplicate Name Bug?) In the meantime, is ...
user avatar
1 vote
0 answers
124 views

Alternative for event machines to process pushTopics?

We have a Ruby app which has a continuously running Rake task which listens for Salesforce pushTopics using the gem Restforce (and Faye). The Restforce gem is compatible with an older version of Faye (...
user avatar
0 votes
1 answer
1k views

Subscribe Salesforce without using EMP Connector

I am writing a java application where a change in Salesforce Account should hit my java application through Streaming API.I gone through various articles and I found it can be achieved through Emp ...
user avatar
4 votes
1 answer
162 views

Can we create Push topics on external objects?

I have set up a Push Topic on an external object to look for the 'Create' Activity. However, when I create an External object record, the Workbench Push Topic Window doesn't receive a Message. Is ...
user avatar
0 votes
1 answer
306 views

Can I create PushTopic on CaseComment

I am trying to create a pushtopic to listen to the CaseComment object. Typed the following in the ApexExec: PushTopic pushTopic = new PushTopic(); pushTopic.Name = 'CaseCommentTopic'; pushTopic.Query ...
user avatar
8 votes
2 answers
2k views

PushTopic not notifying for updates

I have successfully created a PushTopic through the PHP Force Workbench running locally. Then, I monitor the results under the 'Streaming Push Topics' feature in Workbench. Here is the PushTopic: ...
user avatar
  • 181
3 votes
2 answers
1k views

Streaming API: Replay Events/ Durable PushTopic from java client

Useful new feature, GA Summer'16. I like it. While I can successfully consume streaming api via java client, no problems, I am unable to take advantage of this new replay option with my java client. ...
user avatar
  • 2,061
4 votes
1 answer
2k views

Getting PushTopic notifications from salesforce in python [closed]

I am very new to salesforce streaming api. I am trying to get PushTopic notifications from salesforce for my custom object but I am not getting any idea about how should I start. Can you please ...
user avatar
0 votes
1 answer
460 views

Contract object not supported for Push Topic channel

I am trying to create a push topic notification for the Contract object via the following code: PushTopic pushTopic = new PushTopic(); pushTopic.Name = 'RefreshContract'; pushTopic.Query = 'SELECT Id,...
user avatar
  • 87
0 votes
1 answer
35 views

Does my org CS version limit which Streaming and REST APIs I can use?

If I'm using Salesforce "Spring 16" (CS10), does that org impose limitations to which Streaming API version I may use? (currently, our Java apps use v33 push topics) Is there any benefit to using more ...
user avatar
  • 123
0 votes
1 answer
2k views

How can I use PushTopics in Lightning Components

I have been through the Salesforce streaming API demo, and got that working. For anyone wanting a reminder, the page looks like this <apex:page > <apex:includeScript value="{!$Resource....
user avatar
0 votes
1 answer
229 views

Error Creating Push Topic: 'Contract' is not supported

Hi i am trying to create a Push Topic using workbench and i am getting the following error. Error Creating Push Topic: 'Contract' is not supported and my query is SELECT CompanySignedDate FROM ...
user avatar
  • 113