Sync
Use the Sync action to consolidate results of previous actions in multiple paths to the Sync action. If the execution of any action in any path to the Sync action results in an error or if a condition on any action evaluates to false, the result of that action is omitted from the output of the Sync action. Thus, the workflow does not fail because of the Sync action.
If an action before the paths leading to the Sync action or after the Sync action fails, then the workflow execution fails.
The Sync action exhibits the following behavior:
• If you have
specified conditions between the actions leading to the
Sync action and the
Sync action, the
Sync action consolidates the results of the actions for which the condition evaluates to
true, and omits the result of those actions for which the condition evaluates to
false. This is equivalent to the logical AND or OR operation.
• If you do not
specify any condition between the actions leading to the
Sync action and the
Sync action, and the actions execute successfully, the result is included in the
Sync action. If the execution of any action fails, the workflow execution fails at that point.
The Sync action does not have an action form.
Output schema
The Sync action provides an array of the actions and an array of combined results of the actions.