This topic applies only to the IBM Business Process Manager Advanced configuration.Case Management Function

Testing and debugging a case type

Play back your case type in the Inspector to test and debug your activities.

Case management functions are only available if you have IBM BPM Advanced with the Basic Case Management feature installed.

You can test and debug your case type in the Inspector to test your activities. You can run and debug the implementations of your activities; human services, subprocesses and linked processes. Depending on the type of activity, you start the Inspector from the Process Designer web editor or the Process Designer desktop editor.

Case type

To test and debug a case type, you must play back the case type in the Process Designer desktop editor.
  1. Open the process application that contains the case type in the Process Designer desktop editor.
  2. In the library, click Cases and select the case type that you want to test.
  3. Right-click the case type and click Playback > Run Process
  4. At the Switch View prompt, click Yes. The Inspector opens showing the case type as a BPD.
  5. Click Executing Phase to view the activities.
  6. Click and activity to select it and click Run or Debug to launch the Inspector.
  7. To view the user task activities (client-side human services) in Process Portal, click Run the details UI for the selected BPD instance.

User task activities

You can test and debug a user task activity by running the client-side human service that implements the activity.
  1. Open the case type and drill into the activity to open the client-side human service.
  2. Depending on whether you are testing or solving a problem, click Run or Debug. See Running and debugging client-side human services.

Subprocess activities

To test and debug an activity that implements a subprocess, you must play back the case type in the Process Designer desktop editor.
  1. Open the process application that contains the case type in the Process Designer desktop editor.
  2. In the library, click Cases and select the case type that you want to test.
  3. Right-click the case type and click Playback > Run Process
  4. At the Switch View prompt, click Yes. The Inspector opens showing the case type as a BPD.
  5. Click Executing Phase to view the activities.
  6. Click the subprocess activity and click Run or Debug to launch the Inspector.