QuestionQ35

VerifiedSalesforce Integration Patterns

An integration architect has developed a Salesforce application that integrates multiple systems and keeps them synchronized by using Platform Events.

What is occurring when events are only being published?

Explanation

With the Publish Immediately behavior, a platform event is published when the publish call runs and does not wait for the Apex transaction to complete. It can therefore be delivered before that transaction finishes; Publish After Commit would wait until the transaction commits successfully.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!