Creating Process Mining Model: Difference between revisions

From QPR ProcessAnalyzer Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page describes how a new process mining model can be created in QPR ProcessAnalyzer. Following steps need to be done:
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]].
# Create datatable for events (eventlog)
# Create datatable for case attributes (this is optional step).
# Create a model that use the datatables.


Follow these steps to create a new model:
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:
# Go to the [[QPR_ProcessAnalyzer_Project_Workspace|Workspace]] from the navigation menu or from the Home screen.
# Go to the [[QPR_ProcessAnalyzer_Project_Workspace|Workspace]] by clicking the QPR icon in top left.
# Create a new project for the model by clicking the parent project and click '''NEW''' and '''Project'''.
# Create a new project by clicking '''NEW''' -> '''Project'''. (You can also use an existing project.)
# When the target project is selected, click '''NEW''' and '''Datatable'''.
# When you are in the target project, click '''NEW''' -> '''Datatable'''. Define a name for the datatable.
# Select the created datatable and select '''Import'''.
# Select the created datatable and click '''Import'''.
# Select a CSV file, adjust settings for the file and click '''Start import'''. (If you don't have your 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]]).
# Follow the same steps for the case attributes data, i.e. create a new datatable and import data from a file to it.
# Optional: For the case attributes data, create another new datatable and import data to it.
# Click the models list in the headers, and from the opening dropdown list find the project. Hover the project and from the context menu (dots), 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 (e.g. ''Order-to-cash process'').
# Select the created model and click '''Properties'''.  
# Click '''Cases datasource''' tab, select your cases datatable and 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.
# Click '''Events datasource''' tab, select your 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 '''Save''' for the dialog.
# Click the '''Save''' button to close the dialog.
# New model has now been created! You can start the analysis by going to the '''Process Discovery''' and select the create model from the model 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.