Set Flow Debug Breakpoints
debug_flow_breakpointsSet, add, remove, or clear Workflow Studio flow debugger breakpoints by step number during a debug run. Invalid steps are rejected with the list of valid steps where the debugger can stop.
Instructions
Change a debug run's breakpoints, by the step numbers Workflow Studio shows: replace them (set), add or remove some, or clear them all. Each step is looked up in the debugger's own list of places it can stop; one it cannot stop at is refused with the valid steps. remove matches by step number, so a breakpoint on an inner action step (which has none) is only removed by set or clear. While the run is in a subflow, this applies to the subflow. To list them, use debug_flow_inspect with view breakpoints.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Add breakpoints at these steps, keeping the others. | |
| set | No | Replace the breakpoints with these steps. | |
| clear | No | Remove every breakpoint. | |
| remove | No | Remove the breakpoints at these steps. | |
| instance | No | The ServiceNow instance auth alias to connect to. This is the alias configured via `snc configure` (e.g., "myinstance", "prod", "test"). The user will typically refer to this by name when saying things like "on my myinstance instance". If not provided, falls back to the SN_AUTH_ALIAS environment variable. | |
| context_id | Yes | The run's root context id, from debug_flow_start or list_flow_debug_sessions. |