Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
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.
3
votes
Accepted
Platform Event ID Error
Since it's in a trigger, my guess is that it's running the logic to publish the events a second time (as you suspected). Your trigger handler likely runs on the before and after events, so perhaps thi …
17
votes
1
answer
9k
views
How do I change the running user of a platform event trigger handler?
Our org needed to change the running user of a platform event to support automated chatter posts, since the Automated Process user can't access the ConnectApi. I just spent several hours piecing toget …
26
votes
Accepted
How do I change the running user of a platform event trigger handler?
First, let's lay down some concepts. Platform events can have a variety of subscribers aside from apex triggers. To generically configure the system's behavior for all of these subscriber types, Sales …
0
votes
2
answers
678
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 …
2
votes
Accepted
Do setResumeCheckpoint commits revert after RetryableException?
I performed the following test, and found that RetryableException reverts everything committed through setResumeCheckpoint:
// Test partial commit, then error.
trigger testevent on Test_Event__e (aft …
5
votes
Accepted
Platform Event stuck in OPERATION_ENQUEUED status?
This isn't a complete answer, because it doesn't solve your issue. But I wanted to explain what you're seeing with that error message.
Even though getErrors returns an error, that "error" is technica …