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:

  1. Open a project and go to the Process Models folder, then select a process model you want to debug.
  2. In the toolbar click the Debug icon to open the process model in the debugger tool interface.
  3. In the process model viewer, click the round breakpoint icon of an activity. The breakpoint icon of the activity is changed to red.
  4. 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.
  5. 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:

  1. 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.
    • When mock data is enabled, the debugger does not execute the task to get the response but uses the mock data as response of the corresponding task. For example, if a service task is configured with mock data, it does not execute the service to get the response from webservice but uses the mock data entered in the debugger as response.
    • Alternatively, you can click the Bulk Edit link to add mock data.
  1. 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.
  2. 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.
  3. After you have diagnosed any errors in the process model, click the Stop icon.
  4. Click Save to store the mock data and breakpoints in the database.
  5. After completing the diagnosis of the process errors or adding mock data to fix them, click Start to debug the process model again.