Create a record-triggered flow to publish platform events of Data 360
actions. You can use the published platform event to resume your paused auto-launched flow. With a
record-triggered flow, you can update another record, send a notification, initiate a process, or
maintain data consistency. A record-triggered flow runs only when a record is created or updated.
It can update a record 10 times faster than a record-change process.
Required Editions
| User Permissions Needed |
| To create record-triggered flow: |
Permission set:
|
- In Data 360, click
, and select
Setup.
- In the Quick Find box, enter Flows, and select
Flows.
- Click New Flow.
- Select Start From Scratch, then click Record-Triggered
Flow, and then click Create.
- From the Object dropdown, select the Data Cloud action that you want to publish custom
events for.
- Select A record is created or updated.
- From the Condition Requirements dropdown, select All Conditions Are Met
(AND).
- Define the condition. You can add more conditions as needed.
- Select Only when a record is updated to meet the condition
requirements and Actions and Related Records.
- Click Done.
- On the canvas, click Add Element, and then click Create
Records.
- Enter the label name and select Use separate resources, and literal
values.
- From the Object dropdown, select the custom platform event that you want to publish.
- Select a field, and set values for your custom platform event.
- Click Done and then click Save.
- Enter the flow label, click Save, and then click
Activate.
The record-triggered flow is triggered every time the record is updated and the conditions
are met.
When the flow is triggered, the custom platform event is published. Resume your paused
autolaunched flow with the published platform event.