Debugging after creating a new process instance
Select the process definition displayed on the Debug view, then select Start instance by step motion from context menu.
A new process instance is generated on the Management Server and displayed on the Debug view.
Node under the new process instance will be shown by Suspend icons. Confirm the status of the node (such as the variable value).
Select the node or suspended stack
(element at the beginning) in the Debug view.
Select the menu item Run >> Step Over or click (the Step Over button) on the toolbar of the Debug view to run the process instance node in step mode.
Whenever a node completes, the process pauses by Suspended status just before running the next node. Continue debugging the process definition by repeating the selection of Step Over and confirming the status of the node.
Note
In this version, when the step over is complete, the process pauses at the position of the next node to be executed In branch nodes, such as "OR" nodes, when there is more than one node on the next step, the process interrupts at the position of each node. The process cannot be interrupted at the Start and Exit nodes.
Note
Re-starting or stepping over the nodes that have Tasks, the icon will switch to or
. In this case finish the Task to move to next node. For information on finishing Task refer to "Displaying the Task of an activity which is running". In this version, you cannot debug by creating Start Node Task. You can create an activity after the Start Node with a Task and execute the Task from that activity.
Stepping over can also be performed by selecting a process instance. If there are multiple suspended nodes, select the node from the dialog box and execute the step over.
Debugging while a process instance is running
Select the process instance displayed in the Debug view or the node under it, then either select the menu item Run >> Suspend, or click (the Suspend button) of the Debug view on the toolbar to suspend the process instance node.
After confirming the status of the node, either select the menu item Run >> Step Over or click the Step Over button on the toolbar of the Debug view to run the process instance node in step mode.
Whenever a node completes using step motion, the process pauses in Suspended status just before the next node. Continue debugging the process definition by repeating the selection of Step Over and confirming the status of the node.
Note
Suspending the node doesn't make the process to stop right away. In this case the process shifts to the next node then it will be suspended.
You cannot suspend a node if the execution of node has already finished. Make sure to pause only running nodes. In this version process cannot be suspended on "AND" nodes.
Stopping the debug of a process instance which is running, and Aborting the process instance
Select the process instance displayed on the Debug view, and then select Abort Instance from the context menu.
If the shutdown was successful, a message will be displayed on the node.
Re-executing an optional node that ended normally
It is possible to re-execute nodes that have ended normally, as well as the node types indicated below, for process instances that are currently being executed. To re-execute a node, select the node that ended normally under the process instance displayed in the Debug view, and then, select Re-execute node from the Context menu. The node will re-execute before being interrupted at the position of the next node to be executed.
Activity Node
Voting Activity Node
Subprocess Node
Operation component
Note
When re-executing an optional node that ended normally, the node transition may not occur as intended. This prevents the process instance from ending normally. End the process instance forcibly if it does not end normally.
If any of the nodes on the route between the Start and interrupted nodes are currently being executed or currently being interrupted, it will not be possible to display the route for the interrupted node correctly.
Disconnecting a process instance which is running
Select the process instance displayed on the Debug view, then select Disconnect from the context menu.
If the disconnection was successful, "disconnected" will be displayed on the node.
Clearing aborted or disconnected process instances
Select an aborted or disconnected process instance displayed on the Debug view, then select Remove Instance from the context menu.
The selected process instance will be cleared from the Debug view.
Debugging and editing process definition
If during debugging process definition has been changed, debug must be restarted. Following are the steps necessary to restart debugging:
Run the process instance to end or abort the process instance.
Disconnect the debug configuration in "Debug" window.
Upload the changed process definition to management server.
Use the process definition to connect to management server and start debugging the new process definition.
Debugging from Web console
The operations below are possible from the Web console for process instances, nodes, and tasks that have not been debugged using Studio:
Pause
Abort
Delete
Resume
Activate
Not Activate