When you click DEBUG on the workflow editor, the following options appear on the Debug workflow editor window:
-
STOP: Exits debug mode.
-
CONTINUE: Resumes the execution of the workflow until the next breakpoint or until the workflow ends.
-
RETRY: Reruns the current activity. If you change the definition of the activity, click Retry to apply the change to the activity.
-
SET ACTIVITY: Starts the workflow at the selected activity.
-
PREV: Moves the workflow back to the previous activity.
-
NEXT: Moves the workflow to the next activity.
-
PUBLISH: Pushes workflow definition updates into the running workflow process. For example, use PUBLISH after you change activities that the debugger has not run yet. The new workflow definition is used instead of the definition you started debugging with.
-
IMMEDIATE: Shows or hides the IMMEDIATE dialog box.
Activity Pane
During debug mode, for each activity, an activity pane appears at the bottom of the workflow editor screen. And, some of the activity properties pane tabs have a Definition tab and a Debug tab:
-
Definition tab
Displays the variables defined in the activity, for example, xpath:{/workflow/inputs/userEmail}. Change the information in the Definition tab for an activity if the activity has a breakpoint or if the debugger has not run the activity. Click Publish after changing activity definitions.
-
Debug tab
Displays the value used during the debugging session, for example, the input Definition tab displays xpath:{/workflow/inputs/userEmail}, so the Debug tab displays jzhang@mycompany.com.
Immediate Dialog Box
-
Log tab
Displays the runtime information created during the execution of the workflow.
-
Code tab
Use to send immediate scripts into the running process. Use immediate scripts to:
-
Troubleshoot advanced issues in activity and workflow development
-
Update workflow variables
-
Run database queries using Java
-