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