Variable
Learn more about adding variables to a workflow
Last updated
Learn more about adding variables to a workflow
Last updated
The "Variable" condition in DBSync Cloud Workflow allows users to create dynamic workflows by utilizing variables that can hold data values. This enables you to make decisions within your workflow based on the values stored in these variables, enhancing the flexibility of your integrations.
Before using a variable condition, you need to define the variables. Drag and drop a Variable action into your flow.
Configure: Set the variable name (e.g., 'AccountName') and assign it a value. This value can be retrieved from a previous query or hardcoded for testing purposes.
Drag and drop an If Condition action into your flow. Click Configure to set up the condition.
Configure: Select the variable you defined (e.g., AccountName) and specify the condition (e.g., equals (=) and set the value to SGDS).
Below the condition, define actions for both the True and False outcomes.
True Outcome: Add an action that inserts a customer into QuickBooks or logs a success message.
False Outcome: Log a different message or take no action.
To verify the value of the variable, add a Debug action. Click Configure and in the debug panel, drag and drop the variable (e.g., AccountName) to display its value in the console.
After configuring the variable condition and actions, click Save to store your flow.
Click the Run icon to execute the flow. Monitor the console output to verify that the variable condition is evaluated correctly and that the appropriate actions are taken based on the condition.
After running the integration, check the console output for any errors or confirmation messages. This will help you understand if the variable condition worked as intended.
: Learn how to apply conditional logic within your workflows to dynamically control the execution of tasks and flows.
“: Explore "For" condition, to enhance your workflow logic.
: Discover how to build and manage queries for retrieving and validating data across your integrations.
: Explore techniques for troubleshooting and debugging your workflows to ensure they run smoothly and efficiently.