Test Process Model
When you have completed designing the process model, you can run it in the debugger tool to diagnose if it has any errors. You can visually follow the running of the process in the debugger viewer. After an activity is complete, its border is highlighted in green. In the Memory Variables panel, you can examine the current variables and data values of the activities when the process is running.
You see a pop up message when a user task is executed, and mock data is not available.
Set Breakpoints
Perform the following steps:
- Open a project and go to the Process Models folder, then select a process model you want to debug.
- In the toolbar click the Debug icon to open the process model in the debugger tool interface.
- In the process model viewer, click the round breakpoint icon of an activity. The breakpoint icon of the activity is changed to red.
- Optionally, if you want to remove a breakpoint, in the viewer, select the breakpoint icon again. You can manage all the breakpoints you have set in the process model viewer.
When the running process reaches a breakpoint, the process execution stops and the activity’s border is highlighted blue.
You can also select an activity to review the related memory variables or add mock data.
Execute Process Model
Perform the following steps:
- Select one or multiple activities in the viewer and do the following:
- Add data in the Mock Data panel and click Add.
- Select the Enable Mock Data checkbox to manually provide the values in the response of a task in the process model that you want to debug.
- Alternatively, you can click the Bulk Edit link to add mock data.
- In the toolbar at the bottom of the viewer, click Start icon to run the process and perform one or multiple tasks in the module up to a point the execution of the flow is interrupted after it runs into a breakpoint.
- After you have analyzed the variables and values at the breakpoint, click the Stepover icon to move to the next activity to resume the process model diagnosis.
- After you have diagnosed any errors in the process model, click the Stop icon.
- Click Save to store the mock data and breakpoints in the database.
After completing the diagnosis of the process errors or adding mock data to fix them, click Start to debug the process model again.