Cloud Workflow
Raise an IssueJoin Community
  • Getting Started
    • Introduction
    • Integration Basics
    • Sign Up and Get a License
    • Features and Benefits
  • DBSync Platform
    • Core Components
    • System Requirements
    • AppCenter
      • Company and User Management
    • Development Studio
    • Security Features
  • iPaaS
    • Home
    • Apps
    • Extend
      • Functions
    • Administration
      • User & Role Management
    • Logs
    • Remote Agent
    • Published Templates
  • Create your Workflow
    • Project
    • Task
    • Flow Builder
      • Standard Functions
    • Actions
      • Flow
      • Variable
      • Transform and Write
      • SQL
      • Restructure
      • Query
      • Debug
      • ReST
      • Conditions
        • If (Condition)
        • For (Loop)
      • Storage
        • Dropbox
        • File
        • CSV
        • Google Drive
        • FTP
        • S3
      • Flow Management
        • Flow
        • Logs
        • Notification
        • Schedule
        • API
        • Webhook
        • Forms
    • Configuring DBSync Environment
  • Connectors
    • Amazon S3
    • Authorize.NET
    • ChannelAdvisor
    • Database
    • Dropbox
    • FTP
    • Google Drive
    • Google Sheets
    • HubSpot
    • JIRA Cloud
    • JIRA Service Management
    • Linnworks
      • Creating the DBsync Application on Linnworks Developer Instance
    • Mailchimp
    • Microsoft Dynamics 365 Business Central
    • Microsoft Dynamics 365 Finance and Operations (D365 F&O)
    • Microsoft Dynamics CRM Online
    • Microsoft Dynamics GP
    • Microsoft Dynamics NAV
    • monday.com
    • Narvar
    • NetSuite
      • NetSuite Connector Settings
    • OpenAPI
    • PointClickCare
    • QuickBooks Desktop
    • QuickBooks Online
    • Sage Intacct
    • Salesforce
    • ShipStation
    • Shopify
    • SkuVault
    • WooCommerce
  • Template Library
    • Salesforce to QuickBooks Online Order to Cash
    • Salesforce to QuickBooks Desktop Order to Cash
    • Salesforce to FTP Integration
    • QuickBooks Online to Salesforce Accounts Receivable
    • QuickBooks Desktop to Salesforce Accounts Receivable
    • QuickBooks Online to Business Central Integration
    • QuickBooks Online to ShipStation Orders
    • QuickBooks Desktop to Shipstation Orders
    • QuickBooks Desktop to monday.com Integration
    • QuickBooks Online to monday.com Integration
    • Shopify to QuickBooks Online
    • Shopify to QuickBooks Desktop
    • Linnworks Orders to QuickBooks Online
    • Linnworks Orders to QuickBooks Desktop
    • Linnworks to Salesforce Integration
    • Salesforce Litify and QuickBooks Online
    • Salesforce Litify and QuickBooks Desktop
    • HubSpot to QuickBooks Online Order to Cash
    • HubSpot to QuickBooks Desktop Order to Cash
    • SkuVault Orders to QuickBooks Desktop
    • SkuVault Orders to QuickBooks Online
    • SkuVault and Salesforce
    • ChannelAdvisor Orders and Salesforce
    • ChannelAdvisor and QuickBooks Online
    • ChannelAdvisor and QuickBooks Desktop
    • Shopify Orders to Dynamics365 CRM
    • Shopify Orders to Salesforce
    • ShipStation to Dynamics 365 CRM
    • ShipStation Orders to Salesforce
    • ShipStation to QuickBooks Online Orders
    • ShipStation to QuickBooks Desktop
    • Target Recruit to QuickBooks Online
    • Target Recruit to QuickBooks Desktop
    • QuickBooks Online to Database
    • QuickBooks Desktop to Database
  • Troubleshooting
    • Common Errors & Fixes
    • Adding Trusted IP Address in Salesforce
    • Installing QuickBooks Web Connector
    • QuickBooks to Salesforce Data Migration
    • Setting Password in QuickBooks Web Connector
    • Starting QuickBooks Web Connector
    • Update Salesforce Password & Security Token in DBSync
  • Additional Resources
    • Billing Information - Auto Renewal
  • Tutorials
    • Salesforce and QuickBooks
      • Account Hierarchy in Salesforce and QuickBooks
      • Account Owner Mapping
      • Resolving Email Fields Sync Issues in QuickBooks Online
      • Mulitple Price Levels in Salesforce QuickBooks Integration
      • Multicurrency in QuickBooks to Salesforce Integration
      • Multicurrency in Salesforce - QuickBooks Desktop Integration
      • Multicurrency in Salesforce QuickBooks Online Integration
      • Product Hierarchy in QuickBooks and Salesforce
      • QuickBooks Data Extraction Queries
      • QuickBooks File Backup and Recovery Process
      • QuickBoooks Reports to Salesforce Integration
      • Recurring Transactions to Accounting System
      • Retrieve Value from custom Field of QuickBooks Online
      • Salesforce Opportunity to QuickBooks - Disabling Jobs
      • Salesforce QuickBooks Custom Mappings
        • Use Case
      • Salesforce QuickBooks Integration with Multiple QuickBooks
      • Syncing Standard Group Line Items in QuickBooks Desktop
    • Using Date Function in DBSync Integration
    • Salesforce and Database
      • Database to Salesforce Integration
    • Database to Database
      • Database to Database Integration
Powered by GitBook
On this page
  • Introduction
  • Steps to Use Variable Condition
  • Related Content
  1. Create your Workflow
  2. Actions

Variable

Learn more about adding variables to a workflow

PreviousFlowNextTransform and Write

Last updated 1 month ago

Introduction

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.

Steps to Use Variable Condition

Define Variables

  1. Before using a variable condition, you need to define the variables. Drag and drop a Variable action into your flow.

  2. 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.

Add the If Condition Action

  1. Drag and drop an If Condition action into your flow. Click Configure to set up the condition.

  2. Configure: Select the variable you defined (e.g., AccountName) and specify the condition (e.g., equals (=) and set the value to SGDS).

Define Actions for True and False Outcomes

  1. Below the condition, define actions for both the True and False outcomes.

  2. True Outcome: Add an action that inserts a customer into QuickBooks or logs a success message.

  3. False Outcome: Log a different message or take no action.

Add a Debug Action (Optional)

  1. 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.

Save the Flow

  1. After configuring the variable condition and actions, click Save to store your flow.

Run the Integration

  1. 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.

Review Results

  1. 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.

PRO TIP

Use meaningful variable names and ensure consistency in naming conventions to make your workflows easier to understand and maintain.

Frequently Asked Questions (FAQ)

  1. What is the purpose of using variables in workflows?

Variables allow you to store and manipulate data dynamically within your workflows, making them more flexible and adaptable to various scenarios.

  1. Can I use multiple variables in a single workflow?

Yes, you can define and use multiple variables in a single workflow to handle different pieces of data and conditions.

  1. How do I update the value of a variable during a workflow?

You can update the value of a variable using subsequent actions or conditions within your workflow. Simply configure the variable action to assign a new value based on your logic.

  1. Is it possible to use variables across different workflows?

Variables are typically scoped to the workflow they are defined in. For cross-workflow data sharing, you may need to use global variables or other methods of data persistence supported by DBSync.

Related Content

: 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.

Implementing Conditional Logic with "If Conditions"
For” Condition
Creating and Managing Queries
Debugging Flows
Adding Variables
Console Window