Using Breakpoints in Workflows
To better debug a workflow, you can add breakpoints to steps during a debug session using Monitor. This is intended for testing purposes only.
When the workflow runs in Monitor, it stops at a breakpoint. You can then continue to the next breakpoint, or ignore any further breakpoints and continue to the end of the workflow.
You can also add breakpoints to steps in a workflow on the fly by pausing at a specific step, and then adding breakpoints to later steps in Monitor. To do this ensure that you have a mechanism to pause the workflow appropriately, such as a transition that is dependent on the value of a Boolean user instance being modified.
To use breakpoints:
1. | Run the project with the required workflow. For an example, download the project here. |
2. | Run Monitor. |
3. | Add breakpoints to the steps by changing Breakpoint Enabled to True. |
4. | Run the workflow. |
5. | (Optional) If the workflow pauses at a step, add breakpoints to later steps by changing Breakpoint Enabled to True. |
6. | When the workflow stops at a breakpoint, click ![]() ![]() |