Questions tagged [platform-event]

Platform events are part of Salesforce’s enterprise messaging platform. The platform provides an event-driven messaging architecture to enable apps to communicate inside and outside of Salesforce. Custom data in your events are stored in custom fields that you define.

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

What happens to a platform event if it has no subscribers?

I have a platform event and I have published it using Apex code. Wanted check the behavior if it has no subscribers. Unable to find any info. Can someone help me with this?
1
vote
1answer
20 views

Is it possible to increase standard message durability in the eventBus

I am building a pub/sub system via event bus in my SFDC instance and one of my subscribers takes more than 24 hours to process requests (it's a human transition system). Is it possible to extend the ...
0
votes
1answer
25 views

How to publish event at salesforce using ruby on rails? [closed]

I am using Restforce https://github.com/restforce/restforce for connection. My task to to publish an event whenever there is update in table. How can i achieve this in ruby on rails 4.2 version ruby
1
vote
1answer
27 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 ...
0
votes
0answers
9 views

In Saleforce unable to subscribe to platform events that are published by Mulesoft

In my current project I want to subscribe to a platform event that is published by Mulesoft. I have created a platform event with the attributes where mulesoft publishes but nothing is received in ...
0
votes
0answers
11 views

How to fire platform event after Einstein dataflow run completes

We have a dataflow in einstein analytics that runs every morning. Is it possible to fire a platform event / any kind of trigger that let me write some apex logic when the dataflow is run.
0
votes
1answer
25 views

Platform Events - Fire platform event from event trigger?

We are planning to build some kind of a processing chain, when every item in an array is processed in separate scope of limits. Processing should happen strictly in a sequential way, i.e. second item ...
0
votes
0answers
26 views

how to handle platform events from flow when received as a batch at once

I am creating a flow that uses an Apex action that calls multiple future methods in quick succession and publishes platform events for each of them when they are done. There is also another flow with ...
0
votes
0answers
6 views

How to Check in Workbench - Payload,Schema,eid of Platform Event Published from Salesforce to a Service that we integrating to?

I have written a process builder to publish events when there are changes in records of standard objects. I could see event is published or handshake successfull in Workbench, but not actual Payload, ...
0
votes
1answer
22 views

When publishing Platform Events from Apex, is it possible to remove the “__c” suffix from the keys for custom fields?

I need to match a client's schema. Is it possible to define my own Key values on a Platform Event that do not include the "__c" suffix? I'm publishing from Apex in an Aura Component controller.
0
votes
1answer
24 views

Subscribing to a platform event in a vf page that is a part of a force.com site

I have a requirement where i have to refresh the page automatically when a record changes, i'm doing this using platform events whenever an event is published the VF page that has subscribed to the ...
1
vote
0answers
27 views

Platform Events not triggering for a profile but working for system admin

My criteria is whenever a user updates a field to 'abc' a task is created with open status, once that field is updated to 'xyz' it set's the task status to completed, that will trigger the Process ...
0
votes
1answer
18 views

how can java subscriber monitor salesforce platform events

I have a custom object called AdobeMeeting__c and platform event Meeting__e. If I did the changes in AdobeMeeting__c object,I need to push the notification to my external system(java subscriber ). ...
2
votes
2answers
137 views

Platform events for callout through mulesoft

We have integration use cases to external partners(5 to 6 of them) which we will integrate using mulesoft. When data gets updated in case object we will do a callout to mulesoft and based on certain ...
0
votes
0answers
18 views

Why platform event is not getting triggered but when other users hit the event bus it gets triggered? [duplicate]

Whenever I'm trying to hit the event bus then it's not executing the trigger but whenever other users do the same activity then mine also gets started working.
1
vote
0answers
41 views

Checking the limit of High-Volume Platform Events

We use platform events with Comet-D subscriber to synchronize two systems. Sometimes we reach daily limit of 50.000 published events (1.500.000/30 days) and sync process stops. At that point, we can't ...
2
votes
0answers
36 views

Creating a nodjs client for salesforce streaming api

I am trying to build a NodeJS app hosted on Heroku to subscribe to Salesforce Platform events. Now the problem is this app will not have any Webpage, just an app which should receive the events from ...
0
votes
4answers
55 views

Split a List into smaller lists before publishing platform events

I wanted to split a map value which has a size of 2000 into small lists of max size 600 each and publish this smaller lists using platform events. I'm performing an update using platform event ...
0
votes
2answers
22 views

Do setResumeCheckpoint commits revert after RetryableException?

I'm trying to build a high-volume integration through platform events, and I'd like to know how setResumeCheckpoint behaves when a RetryableException is thrown after the checkpoint. According to the ...
0
votes
1answer
26 views

Publish Event Messages generic solution

I am looking for a generic solution that would allow instead of creating triggers for each platform event to create one and in some way forward to it. If this even possible and what pattern should I ...
0
votes
1answer
42 views

Use Change Data Capture in the other direction (Heroku -> SF)

I have a Salesforce ISV app that shares some data with its Heroku-based backend. To notify the backend about data changes in Salesforce we use Change Data Capture. For synching back changes from ...
1
vote
0answers
37 views

Platform Event Limits regarding CometD and non-CometD clients

As per the Salesforce Documentation regarding Platform Event limits, in Performance or Unlimited Editions of Salesforce, maximum number of delivered event notifications within a 24-hour period, ...
3
votes
1answer
33 views

Can we replace legacy Streaming API code with its latest versions?

Barcode reader in the our Airport vip lounges is triggering a REST Service in our Salesforce service org and after that the screen of the vip lounges should get refreshed with the information of the ...
1
vote
1answer
246 views

Platform Event stuck in OPERATION_ENQUEUED status?

I've created a platform event called Review_Event__e in my sandbox, I have a apex class that publishes an event, the debug logs the event was successfully committed but if I monitor Workbench ...
5
votes
1answer
69 views

Streaming API Message Reliability and Acknowledgement

How does the Salesforce streaming API ensure message reliability? I understand you can replay events from any replay id within the retention period, but this does not guarantee message delivery. ...
1
vote
0answers
24 views

Anyone connected a Salesforce org to e.g. Loggly or DataDog?

Cloud-based logging environments provide tools to help analyze log files. We are looking at using Platform Events as one of the outputs of our logging calls per Logging frameworks that use Platform ...
2
votes
2answers
85 views

How to test a Platform Event Trigger that makes callout(s)?

I am integrating with a third-party API that calls an unauthenticated webhook (HTTP Post) that I have implemented with a small payload; my code then uses that payload to make an authenticated call to ...
2
votes
1answer
91 views

Logging frameworks that use Platform Events - what is the full list?

I've found these two excellent projects: Andrew Fawcett's Advanced Logging with Platform Events Robert Sösemann's Apex Unified Logging that use Platform Events for logging and include a client to ...
1
vote
1answer
30 views

Confirmation that Platform Event objects can be created dynamically (starting from an API name string)

I'm looking for confirmation that a Platform Event SObject can be created starting from the API name of the type using e.g. Type.formName('...').newInstance() just as a normal custom SObject can be. (...
1
vote
1answer
60 views

Record Update triggers Process Builder, but Platform Event Action Doesn't Occur

In a sandbox, process builder is triggering a platform event on record updates. When I update the record, I am not seeing my platform event in the debug logs or in SF workbench. To confirm the ...
0
votes
1answer
308 views

How to subscribe platform events on external systems?

I have requirement to subscribe salesforce platform events in external systems(adobeConnect) and display event notifications. For that I have a trigger to publishing the platform events and I wrote a ...
0
votes
1answer
20 views

How to get the notifications in my External system(AdobeConnect) using salesforce change events or platform events?

I have a custom object called AdobeMeeting__c and platform event Meeting__e. If I did the changes in AdobeMeeting__c object,I need to push the notification to my external system(adobe connect). For ...
1
vote
1answer
88 views

URL doesn't exist in REST api call

I'm trying to subscribing platform event channel through REST. I have executed below code I'm getting the error called "URL doesn't exist". Is there any changes needed in the url format. Please ...
3
votes
0answers
91 views

Platform Event Trigger won't execute in subscriber org but in scratch org

In my Managed Package, I have a trigger for the Platform event Notification__e. The publish behavior is Publish Immediately. When I publish an event via Workbench or Developer console in one of the ...
1
vote
1answer
141 views

Update the last modified user to Automated Process

Is there any way I can update a field on the record through automation to make sure that the last modified user gets updated to automation process user on the record? So, here's our issue, we have ...
1
vote
0answers
14 views

Unable to connect send platform events to Salesforce

Good morning, I'm trying to send Platform Events to salesforce using a Platform app from Azure and I'm receiving that everything it's ok but no other log and not a single platform event was created. ...
1
vote
0answers
46 views

Logic written in Platform Event Trigger doesn't work, but the same logic works from ProcessBuilder

I am using Platform Events, to fire a webservice(HTTP request) call post transaction commit, let us say Once Account is Created or Account Updated. In the process of doing so, I am able to create/...
3
votes
1answer
61 views

Is there an online, free, hosted solution to test and monitor Platform events outside of Salesforce?

So, I am trying to test Platform events outside of Salesforce. I know it can be checked with PE Triggers. But I wanted to check it outside. So, is there a tool or utility to test PE outside Salesforce ...
2
votes
1answer
197 views

How to Subscribe to platform Events on Community?

Trying to subscribe to a platform Event channel from community keep failing for me. All is working fine from internal User on a Lightning Record Page but for some reason cannot subscribe to the ...
1
vote
1answer
203 views

Connecting Platform Events to Amazon SQS/SNS [closed]

I have a requirement where I need to subscribe to Salesforce Platform Events via AWS. I did some research and found out that we can do so via Lambda. However Lambda has its own limitations. Is it ...
0
votes
0answers
24 views

Trigger on List of Objects

I need an approach to get notified whenever a Objekt changes. The Objects i want to be notified is configured within a custom Setting. Conditions: No changes on the object itself. Generic approach ...
1
vote
0answers
39 views

Can a Platform Event channel subscription be limited to events with certain properties in LWC?

Looking at using Platform Events to subscribe to particular updates in a Lightning Web Component. A certain LWC component will only be interested in events that relate to that particular component. ...
2
votes
0answers
85 views

Surprising compilation error: “A non foreign key field cannot be referenced in a path expression: ChangeEventHeader”

Why is it that this will not compile: trigger AccountChangeTrigger on AccountChangeEvent (after insert) { String dmlType = Trigger.new[0].ChangeEventHeader.changetype; ... A non foreign ...
1
vote
0answers
28 views

Flow failing when waiting for a platform event

I have designed an auto-launched flow that hits a waiting element and waits until a platform event is published to resume its execution. At the moment it only works if the user has the 'modify all ...
2
votes
1answer
153 views

Platform Event Subscription not working for some users!

I have a generic platform event for Record updates. (RecordChange__e) I am firing that event in apex and subscribing it in an aura component in LEX. It's working fine for me and other System Admins....
3
votes
1answer
65 views

What is the difference between platform events published and delivered?

The reason I ask is because the allocations page states the "delivered" is half what the "published" limit is, which doesn't make sense as we can publish more messages than even a single subscriber ...
1
vote
1answer
62 views

Is Salesforce classed as a consumer of Platform events?

As the title suggests, I would like to know if Salesforce is classed as a CometD subscriber to Platform events? In the documentation it mentions there is 25K message limit divided by subscribers, is ...
0
votes
1answer
38 views

Salesforce Platform Event After Specific Interval

My Use Case - After Every 5 minutes i need to get a token from "X-System" and need to store in salesforce. To Achieve this we implemented batch and scheduler. What Batch and Scheduler Will DO are ...
1
vote
0answers
20 views

All Defined Platform Event Types Both Fail and Succeed Within the Same Hour

I've defined a few platform events to capture changes in a few different object types across my environment, with triggers attached to each event that handle data transformations based on those ...
0
votes
0answers
32 views

Future Method cannot be called from another Future Method

I have a platform event trigger that calls a method in a class that is annotated with @future. This future method makes an external REST api call to get some data and updates values on the ...

1
2 3 4 5