Object-centric Process Mining Model

From QPR ProcessAnalyzer Wiki
Revision as of 17:57, 24 June 2024 by Ollvihe (talk | contribs) (Created page with "<div style="border:1px solid #dfdfdf;padding:0.5em 1em 0.5em 1em;background-color:#E7EAEC;margin:10px 0px 0px 10px;"> This page describes functionality that hasn't fully been released. </div> QPR ProcessAnalyzer supports object-centric process mining models (OCPM) based on the OCEL 2.0 standard (https://www.ocel-standard.org). == Create OCPM model == New OCPM model is created as follows: # In the Workspace, open the project where to created the model. # Select "NEW" in...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page describes functionality that hasn't fully been released.

QPR ProcessAnalyzer supports object-centric process mining models (OCPM) based on the OCEL 2.0 standard (https://www.ocel-standard.org).

Create OCPM model

New OCPM model is created as follows:

  1. In the Workspace, open the project where to created the model.
  2. Select "NEW" in top right menu and select "OCPM model"
  3. Define a name for the new model and click Create.

Configure OCPM model datatables

Datatables for the OCPM model can be configured as follows:

  1. In the Workspace, select the OCPM model and click Properties.
  2. In the dialog, open the Datasource tab.
  3. Add following kind of configuration to the textbox:

OCPM model structure

OCPM model has the following tables:

== Perspectives OCPM perspective provides means to "project" OCPM/OCEL model (#71846#) into a single tabular representation based on provided additional configurations, which can then be more easily analyzed using, e.g., traditional analysis methods used for event- and case-table based event logs. 2. Perspective configuration supports the following properties and their values: 2.1. ObjectType: 2.1.1. The name of the object type, specifying the type of the object that all events should be projected to. 2.1.2. Mandatory. 2.2. EventTypes: 2.2.1. An array of event type names whose attributes are to be included into the resulting projected event log. 2.2.2. If not defined, all the events in the OCEL model will be included, but their type-specific attributes are not included. 2.3. RecursionDepth: 2.3.1. Specifies how many object-to-object relations are to be traversed in order to find events connected to the specified object type. 2.3.2. Default value is 0, which means that only those events are returned that are directly connected to objects of the specified object type (based on EventToObject-table #71856#). 3. Perspective is applied as follows: 3.1. First, take all the rows from events-table. 3.2. For every event row, collect all the related objects based on EventToObject-table. 3.3. For every event + object combination, do the following: 3.3.1. Set current recursion depth to 0. 3.3.2. If the object is of the object type specified in the perspective, keep this event + object combination. 3.3.3. Otherwise: 3.3.3.1. If the current recursion depth is smaller than the configured RecursionDepth, generate all event + object combinations of all the objects related to the object of the current one based on ObjectToObject-table. For each such event + related object combination, continue to 3.3. above while increasing the recursion depth by one. 3.3.3.2. If the current recursion depth equals the configured RecursionDepth, the result will not include this row + object combination. 3.4. For each remaining event + object row: 3.4.1. Join all the columns (if there are any) from configured ObjectType's-table. 3.4.2. Join all the columns (if there are any) from each configured EventType's-table. 3.4.2.1. If EventType-table does not have some column that exists in some other joined EventType's column, that column will get a null value.

Example: {

 "ObjectType": "Payment",
 "EventTypes": ["Approve Purchase Requisition", "Change PO Quantity", "Create Purchase Order", "Create Purchase Requisition", "Insert Invoice", "Insert Payment", "Remove Payment Block", "Set Payment Block"],
 "RecursionDepth": 2

}

Generates a projection where resulting rows, each representing one event, are mapped to objects of type "Payment". If an event in OCEL model is not connected to Payment-object, even after performing two iterations of searches via ObjectToObject-table rows), that event will not show up in the result.

The result will have the following columns: OcelEventId (primary key) OcelObjectId (primary key) OcelEventTime <all the object type specific columns found in Payment object type table> <all the event type specific columns found in all the 8 event types listed in EventTypes-property>