Debug

Learn about debugging the workflow automation

Debugging a Flow in DBSync Cloud Workflow

Debugging a flow in DBSync Cloud Workflow helps identify and resolve issues in your integration processes.

Follow these steps to effectively use the debugging features:

Steps to Debug a Flow

  1. Login to DBSync Cloud Workflow: Navigate to the DBSync website and log in by entering your username and password.

  1. Create or Access Your Project: For a new flow, click on Create and name your project appropriately. If debugging an existing flow, navigate to that project.

  2. Set Up Your Flow: Drag and drop the Flow action into your project workspace. Click Configure and provide a description for the flow.

  1. Add Query Action: Drag and drop a Query action into the flow. Configure it by selecting the appropriate data source (e.g., Salesforce) and the object you want to query (e.g., Account). Choose All Fields or specific fields as needed.

  1. Preview the Query Results: Click on Preview from the query configuration section to see the results that will be returned by the query. This ensures your query is set up correctly and returns the expected data.

  1. Add Debug Action: Drag and drop a Debug action into the flow. Click Configure to define the variable you want to debug. Use the fx icon to access the list of schemas and select the relevant fields to display in the debug output.

  1. Run the Flow: After configuring the flow and adding the debug action, click the Run icon to execute the flow. The console will display the executed query, and you should see the debug output showing the results.

  2. Check Console Output: Review the console output for any errors or unexpected results. If issues arise, revisit the query configuration or flow setup to identify and correct any problems.

  1. Troubleshoot Errors: If you encounter errors during execution, check the logs for error codes and descriptions. Common issues may include incorrect configurations, insufficient permissions, or syntax errors in the query.

  1. Iterate and Refine: Based on the debug output and any errors, make necessary adjustments to the flow or query. Repeat the debugging process as needed until the flow operates as expected.

PRO TIP

Set breakpoints strategically to focus on specific parts of the flow where issues are likely to occur. This helps in isolating and resolving problems more efficiently.

Frequently Asked Questions (FAQ)
  1. What is a breakpoint in DBSync Cloud Workflow?

A breakpoint is a debugging tool that pauses the execution of a flow at a specific point, allowing you to inspect the flow's state and data.

  1. Can I modify data while debugging?

Yes, you can modify data and variables during a debugging session to test different scenarios and understand the flow's behavior under various conditions.

  1. How can I identify where to set breakpoints?

Set breakpoints at key decision points, data transformations, or areas where errors are likely to occur. This helps in narrowing down issues quickly.

  1. What should I do if the flow doesn’t pause at my breakpoints?

Ensure that the flow is running in debug mode and that the breakpoints are correctly set. If the flow still doesn’t pause, check if the conditions for the breakpoint are being met.

  • Flow Builder Overview: Explore the features of Flow Builder and how to utilize them effectively in your DBSync Cloud workflow.

  • Flow: Insights into how flows execute within your workflows.

  • Query: Using the DBSync Query Tool for Data Validation.

  • Task: Detailed guide on building and customizing tasks within your projects.

Last updated