Skip to main content
Version: v2.5

Define when a Process Instance is Completed

In order to determine when process instances are defined as completed, a variable can be used to specify which activities represent a process end. Defining a process end is an optional feature, so its configuration is placed in the mpmX_repository/[mvProcessDescription]/mpmX_config_repository.qvs. Nevertheless, if the module Process Monitoring is to be enabled, defining the mvProcessFinished Variable is mandatory.

 

To define the variable, perform the following steps:

  1. Decide with which activity a case is closed and save the activity name in the variable mvProcessFinished.

  2. Adjust the ActivityType in the variable mvProcessFinished.

    1. If you have only one activity that defines the process' end, do this:


      SET mvProcessFinished = ActivityType= 'Closed';

    2. If you have more than one activity that defines the process' end, do this:


      SET mvProcessFinished = match(ActivityType,'Closed','Closed Also');