Define when a Process Instance is Completed |
Scroll Previous Topic Top Next Topic More |
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. Nevertheless, if the modules Process Monitoring and process path continuation shall 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.
In the process example in chapter Basic Concepts of Process Mining a case is closed when the activity "Closed" occurs.
2.Adjust the ActivityType in the variable mvProcessFinished.
a.If you have only one activity that defines the process' end, do this:
SET mvProcessFinished = ActivityType= 'Closed';
b.If you have more than one activity that defines the process' end, do this:
SET mvProcessFinished = match(ActivityType,'Closed','Closed Also');