Flow Debugger Enhancements

Prev Next

Overview

This article highlights all the enhancements to the Flow Debugger, which will be available to users starting in v9.11. Below is a breakdown of each enhancement over multiple releases.

Ability to change the value for Sampling Mode(v9.11)

By default, the Flow Debugger, Unit Tests, and Sample Data are set to run in "Sampling Mode." In Sampling Mode, the Debugger records the data for only five out of all the iterations it is supposed to run. It captures the data of the first two and last three iterations, respectively. This helps reduce memory consumption and makes the Debugger faster.

Users can configure the sampling value and run the Flow in sampling mode for 5 to 100 iterations.

New Step Inspection Dialog (v9.12)

We introduced a new way of inspecting a Step in the Debugger to view its inputs and outputs. After completing the debug session, users must click on the Step to view all its debug details. Refer to the following screenshot:

  1. Step Execution Count: This Panel on the left shows all the step execution iterations. If a Flow uses a ForEach or ForLoop step, which loops the Flow through steps and runs the Step multiple times, this list shows all the iterations that the Step has gone through. Users can click on any iteration to view the data for that specific iteration.
  2. Input & Output View: This section shows all input and output data associated with the selected Step. Users can copy the data individually using the copy button in the top-right corner. The splitter between panels can be dragged to adjust the view, and a search bar allows users to find specific data within the inputs and outputs quickly.
  3. Mappings Panel: This panel, similar to the Step Properties panel, is read-only and displays the mapping types and data passed through the Step. It helps users understand how data is mapped and transferred within the Flow.

Improved Debugger Performance (v9.12)

We’ve improved the Flow Debugger to handle large flows more effectively. While debugging flows with 40,000–50,000 objects may still take some time to load, the dialog will process and display the data; users just need to wait briefly. 

Previously, such large flows often caused the Debugger to become unusable, but with these updates, it is now stable and functional even at that scale.

Improved Search in Inspection dialog (v9.13)

In version 9.12, we made a more unified way to search in the inspection dialog.

Users have the option to search within All, Inputs, or Outputs when using the search bar in the inspection dialog. Selecting "All" allows the users to search through both inputs and outputs of each execution, while selecting "Inputs" or "Outputs" restricts the search to just those respective sections. Once a user enters text into the search bar, the data gets filtered to show the matching text from the selected section(s) across all executions. This also includes filtering the list of executions or iterations on the left.

Note: If any matching results are not found from an iteration, the iteration will filter out, and users will see no search results.

 

Edit Entities from Debugger (v9.13)

While debugging a Flow, users might encounter a step, sub-flow, or referenced entity that requires modification. Starting with version 9.12, the "Edit in New Tab" option enables users to open the selected item directly in a new browser tab, eliminating the need to navigate away from the Debugger manually.

There are three ways users can use this action:

  1. On Steps: Users can click the pencil icon available on all sub-entity steps, which opens the corresponding entity in a new tab for editing.
  2. On Step Inspection Dialog: A button at the bottom of the inspection dialog allows users to open and edit the entity in a new tab.
  3. In Debugger Tree: When right-clicking on the Debugger Tree, users will also see the 'Edit in New Tab' option.