Conditions
Introduction
In DBSync Cloud Workflow, Conditions provide the control logic needed to execute specific actions only when certain criteria are met. These conditional constructs add flexibility and intelligence to your workflows by enabling decisions and loops during execution. With condition-based actions, you can control the flow of data, apply business logic, and make workflows more dynamic and responsive.
The two primary condition types supported are If Conditions and For Loops. These let you branch logic or iterate over data sets based on runtime values—ideal for filtering records, applying logic based on specific fields, or looping through arrays and lists for bulk processing. By combining conditions with actions like variable setting, transformations, or sub-flows, you can design workflows that adapt in real-time based on the data being processed.
This section will guide you on how to effectively use conditional logic in your integrations to streamline decision-making and improve workflow efficiency.
Key Topics in This Section
If Condition: Add branching logic to your workflow that runs specific actions only if a given condition is true. Useful for scenarios like filtering invalid records or processing only when specific field values meet criteria.
For Loop: Loop through arrays or lists of records and apply a set of actions to each item. Ideal for processing line items in invoices, orders, or any repeating data structure within a workflow.
Last updated