Publishing platform event:
We can publish the platform events in 3 ways:
Publish Events Messaging using APEX.
Publish Events Messaging using Declarative tools (Process Builder or Cloud Flow Designer Tool / Visual Work flow).
Publish Events Messaging using Salesforce API from external app.
After a platform event has been defined in your Salesforce org, publish event messages from a Salesforce app using processes, flows, or Apex or an external app using Salesforce APIs.
No Streaming API - https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/platform_events_publish_api.htm
Ok with Process Builder - https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/platform_events_publish_process.htm
I think answers are C and D. That is because, A is needed some service about that action such as Process builder, Flow, Workflow, or Approval process, and Outbound messages are only allowed for Workflow or Approval process.
And B is External apps CAN'T use the standard streaming API.
upvoted 4 times
...
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
amerbearat
Highly Voted 3 years, 2 months agobeardAnt
Most Recent 1 month, 1 week agoYas010101
10 months agoamm12345
1 year agoOmShantiVeg
2 years, 3 months agomnu
3 years, 8 months agoTestCheck
3 years, 4 months agoGanmook
3 years, 3 months ago