Using Watches

Watches are a debugging tool that can be used in the Designer for examining the states of variables and conditions within a running Workflow.  

A watch can simply be the name of a variable. For example, to watch the value of an Automated Workflow variable named TotalCount, add a watch that contains simply TotalCount.

Embedded expressions can also be used within a watch, using the same syntax as a standard Automated Workflow embedded expression. To watch the length of an Automated Workflow variable called "myName", add a watch Len(myName).

Watches can be added, removed, or modified using the Watches View of the Debug Window.

Watches are re-evaluated after each step is executed while debugging in the Designer. When running a Workflow outside of the Designer, for example when a Workflow is triggered in an Event Rule, watches are ignored.

Watches can be added, removed, and modified on the Watches tab.  

To add a watch on a variable

  1. In the Steps pane of the Designer window, click the Create a Variable step for the variable you want to watch.

  2. On the Designer main menu, click Edit > Add to watchlist.

To add a watch using an expression

  1. In the Designer debug window, click the Watches tab.

  2. Enter the expression to watch in one of the following ways:

  3. Click Evaluate to check the syntax of your expression.

  4. Click Watch to add the watch.

To modify a watch

  1. In the Watches Debug window, right-click the watch and click Change.

  2. Type the new variable or expression for the watch and press Enter.

To remove a watch

Note: Using watches can affect runtime performance in the debugger on slower computers. If debugging speed becomes a factor, try removing watches that are no longer needed. This does not apply to runtime performance outside the debugger, as watches are ignored outside Designer.