If you have a custom platform event defined in your Salesforce org that you want to use
for the event relay, you can skip this step. You can also skip this step if you want to use the
event relay with a change data capture event. Otherwise, follow the steps in this section to
define an example platform event, Carbon_Comparison__e, which the event relay configuration steps
use.
Required Editions
User Permissions Needed
To define a platform event:
Customize Application
From Setup, in the Quick Find box, enter Platform Events, and then
select Platform Events.
Click New Platform Event.
Provide these values.
Label: Carbon Comparison
Plural Label: Carbon Comparisons
Save your changes.
Create these fields. In Custom Fields & Relationships, click New
for each field, and follow the wizard.
Field type: Number, Field Label: Annual Mileage, Length:
6, Decimal Places: 0
Field type: Text, Field Label: Current Vehicle, Length:
100
Field type: Text, Field Label: Model Year, Length: 4
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.