Creating Process Mining Model: Difference between revisions

From QPR ProcessAnalyzer Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page describes how a process mining model can be created where data is stored to datatables. Note that models can also load the eventlog data using a [[QPR_ProcessAnalyzer_Model_Datasources#Loading_Script|loading script]] or an [[QPR_ProcessAnalyzer_Model_Datasources#ODBC_Datasource|ODBC query]].
This article describes how to create a process mining model in QPR ProcessAnalyzer from CSV files. Note that data can also be loaded directly from information systems using the [[QPR_ProcessAnalyzer_Model_Datasources#Loading_Script|loading script]] or [[QPR_ProcessAnalyzer_Model_Datasources#ODBC_Datasource|ODBC query]].


As an overview, following objects need to be set to create a model that uses datatables:
To create a model, you need two datatables (one for the events and one for the case attributes) and the model entity. The case attributes are not mandatory so the cases datatable is optional. Here are the steps how to create a model:
# Create datatable for events (eventlog)
# Go to the [[QPR_ProcessAnalyzer_Project_Workspace|Workspace]] by clicking the QPR icon in top left.
# Create datatable for case attributes. (Case attributes are not mandatory, so this step is optional.)
# Create a new project by clicking '''NEW''' -> '''Project'''. (You can also use an existing project.)
# Create a model that use the datatables.
# When you are in the target project, click '''NEW''' -> '''Datatable'''. Define a name for the datatable.
 
# Select the created datatable and click '''Import'''.
Here are step-by-step instructions how to create a model using datatables:
# Go to the [[QPR_ProcessAnalyzer_Project_Workspace|Workspace]] (by clicking in navigation menu or in the Home screen).
# Create a new project for the model by clicking the parent project and clicking '''NEW''' -> '''Project'''. (Alternatively you can use an existing project.)
# Make sure the target project is selected, click '''NEW''' -> '''Datatable'''.
# Select the created datatable and '''Import'''.
# Select a CSV file, adjust settings for the file and click '''Start import'''. (If you don't have any data available, you can try out the [[Sample_Eventlog_Files|sample files]]).
# Select a CSV file, adjust settings for the file and click '''Start import'''. (If you don't have any data available, you can try out the [[Sample_Eventlog_Files|sample files]]).
# For the case attributes data, create also a new datatable and import data to it. (This is optional, as case attributes are not mandatory to create a model.)
# Optional: For the case attributes data, create another new datatable and import data to it.
# Open the models list in the header, and find the target project. Hover the project and from the menu (dots icon) select '''Create model'''.
# To create the model entity, click '''NEW''' -> '''Model''' and define a name for the model.
# ''Model Properties'' dialog opens. Define a name for the model.
# Select the created model and click '''Properties'''.
# Open the '''Cases datasource''' tab, select the cases datatable, and to the '''Case ID''' field define the column that contains the case id's.
# In the Model Properties dialog, open the '''Events datasource''' tab, where to select the events datatable and the columns that contain the case id, event type and event timestmap.
# Open the '''Events datasource''' tab, select the events datatable, and define the columns that contains the case id's, event type and event time.
# Optional: Open the '''Cases datasource''' tab, where to select the cases datatable and the column that contains the case id.
# Click the '''Save''' button to close the dialog.
# Click the '''Save''' button to close the dialog.
# The model has now been created! You can start analysis by going to the '''Process Discovery''' and select the created model from in models list in the header.
# The model has now been created! You can start analysis by double-clicking the model, which will go to the '''Process Discovery''' view.

Latest revision as of 18:52, 28 January 2023

This article describes how to create a process mining model in QPR ProcessAnalyzer from CSV files. Note that data can also be loaded directly from information systems using the loading script or ODBC query.

To create a model, you need two datatables (one for the events and one for the case attributes) and the model entity. The case attributes are not mandatory so the cases datatable is optional. Here are the steps how to create a model:

  1. Go to the Workspace by clicking the QPR icon in top left.
  2. Create a new project by clicking NEW -> Project. (You can also use an existing project.)
  3. When you are in the target project, click NEW -> Datatable. Define a name for the datatable.
  4. Select the created datatable and click Import.
  5. Select a CSV file, adjust settings for the file and click Start import. (If you don't have any data available, you can try out the sample files).
  6. Optional: For the case attributes data, create another new datatable and import data to it.
  7. To create the model entity, click NEW -> Model and define a name for the model.
  8. Select the created model and click Properties.
  9. In the Model Properties dialog, open the Events datasource tab, where to select the events datatable and the columns that contain the case id, event type and event timestmap.
  10. Optional: Open the Cases datasource tab, where to select the cases datatable and the column that contains the case id.
  11. Click the Save button to close the dialog.
  12. The model has now been created! You can start analysis by double-clicking the model, which will go to the Process Discovery view.