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:
-
Decide with which activity a case is closed and save the activity name in the variable mvProcessFinished.
- In the process example in chapter Basic Concepts of Process Mining a case is closed when the activity "Closed" occurs.
-
Adjust the ActivityType in the variable mvProcessFinished.
-
If you have only one activity that defines the process' end, do this:
SET mvProcessFinished = ActivityType= 'Closed'; -
If you have more than one activity that defines the process' end, do this:
SET mvProcessFinished = match(ActivityType,'Closed','Closed Also');
-