ExamGecko
Question list
Search
Search

Question 178 - Certified B2B Commerce Developer discussion

Report
Export

In what way can a developer's code subscribe to platform events?

A.
Flows and Apex Triggers
Answers
A.
Flows and Apex Triggers
B.
Flows
Answers
B.
Flows
C.
Apex Triggers
Answers
C.
Apex Triggers
D.
Process Builder, Apex Triggers and Flows
Answers
D.
Process Builder, Apex Triggers and Flows
Suggested answer: A

Explanation:

In Salesforce, developers can subscribe to platform events using both Flows and Apex Triggers. This allows for the execution of automated processes in response to the events. Apex Triggers can be written to respond to event messages in the same way they respond to DML events. Similarly, Flows can be configured to trigger upon the receipt of a platform event. This functionality is documented in Salesforce's developer guides and best practices, which emphasize the versatility and power of combining declarative and programmatic approaches to respond to platform events.

asked 23/09/2024
Lucas de Paula Mello
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first