Debugging workflows

To investigate issues with workflows, you can debug them by setting breakpoints on workflow blocks. When workflows pause at breakpoints, you can update both the variables that the blocks use and the variable values.

Procedure

  1. For each breakpoint that you want to create, click the circle beside the block where you want the workflow to pause.
  2. Click Debug. The workflow runs and pauses at the first breakpoint. In the Debugger section, you can view the workflow’s threads, state, and breakpoints.
  3. Optional: In the Debugger section, expand the State subsection and change a breakpoint block’s variables and values. The changes that you make are immediately reflected in the workflow after it resumes.
  4. Optional: Highlight specific variables that you are interested in by adding them to the Watch subsection.
    • Expand the State subsection, find the variable that you want to monitor, and click Add to Watch.
    • Alternatively, expand the Watch subsection, click + and type the variable’s name.
    • In the Watch subsection, you can update the variable’s name and value. Your changes are immediately reflected in the workflow after it resumes.
  5. Optional: Manage your breakpoints in bulk by using these buttons:
    Enable all
    Turns on all breakpoints.
    Disable all
    Turns off all breakpoints.
    Clear all
    Deletes all breakpoints for the current workflow.
  6. Optional: Continue debugging by using these buttons:
    Pause
    Pauses the workflow execution. Click this button again to resume the workflow execution.
    Start over
    Restarts the workflow execution.
    Stop
    Stops the workflow execution.
    Step
    Steps to the next block in the execution sequence.