Setting Breakpoints to Pause Process Instance Execution
Before injecting a process, you must interrupt the normal process execution flow of a process instance by using one or multiplebreakpoints. You set and remove breakpoints for a step at runtime in the Business Console user interface.
You can set a breakpoint on any step of a process instance with status Running or Needs-Attention. Breakpoints apply only when the step is pending execution. Setting breakpoints on steps that are already completed does not have any effect.
Note: | Breakpoints cause execution to pause before the step actually runs, not after. |
To set a break point on a process step
1. In Business Console, on the Processes tab, click a process instance with status Running or Needs-Attention.
2. In the Process Diagram panel, locate the step or steps for which you want to add a breakpoint, and click the Set Breakpoint icon.
When the process instance execution reaches a breakpoint, the corresponding step is not executed and the step status is set to Paused. The status of the process instance is set to Needs-Attention.
After a process instance pauses at a breakpoint, you can inject a process. When injecting a process, you select from the list of active process types and select one of the following options:
Contiunue - after injecting the call activity, the process instance continues execution.
Pause on return - the process instance remains with Needs-Attention status, and the step remains with Paused status, for further user interaction.
Note: | Multiple process injections are allowed. |