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. In the Flow Builder screen, drag the Flow action from the Actions palette on the left and drop into the workflow.

  2. Click Configure on the flow panel to configure the flow.

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

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

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

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

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

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

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

  • Ensure that you save every Action configuration.

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

Last updated