A SyncFlow is used to process records from a current flow to a second flow consecutively based on the selected processed status of the run in the current flow.
The Run Event SyncFlow Step will wait for the current processing run in the first flow to finish and then process the records in the second flow based on the processed status of the run from the first flow.
A processed run can have a completed, completed with errors or failed status based on the flow and records.
Illustrated in the image below is a flow where a Run Event SyncFlow step is used.
Adding a Run Event SyncFlow Step
To add a Run Event SyncFlow step in a flow, follow the below instructions:
1. Click on the highlighted icon as shown in the below image.
2. The below page will appear. Click on the RunEvent tab and select SyncFlow as shown in the image below.
Configuring a Run Event SyncFlow Step
Illustrated in the below image is the configuration that is available in the SyncFlow Run Event step.
Events – The events to trigger on. This field is required for the step to work. The following options are available:
Completed – All records that are successfully processed.
Completed with Errors – All records that are processed but contain errors.
Failed – All records that failed.
Flow ID – The ID/name of the flow to execute. Click on the dropdown arrow to see a full list of all available flows and select the required one. Alternatively, click on the icon highlighted in yellow to create a new flow. Click on the icon highlighted in green to edit the selected flow. Click on the icon highlighted in blue to open the selected flow.
Using a Run Event SyncFlow Step
To use the Run Event SyncFlow step, follow the steps below:
1. Press the Execute button in Flow 1 as shown in the image below.
2. Click on the Create Run button to execute the flow.