Application:
- Download the following technical report, application and the SQL script.
- Create the application database by executing the SQL script.
- The Recommender.zip file contains the Eclipse project for the plugin. You can find the source code for the plugin within the src folder of the project.
- The EventLogDatabase.zip file contains the Eclipse project for the MySQL database connectivity.
- Import the two projects into the Eclipse workspace.
File >> Import ... >> Existing Projects into Workspace >> Next >> Select archive file >> Browse to the location of the Recommender.zip file >> Finish.
File >> Import ... >> Existing Projects into Workspace >> Next >> Select archive file >> Browse to the location of the EventLogDatabase.zip file >> Finish.
This should import the projects into the workspace. If there are any problems with the library path or class path fix it.
- Edit the database declaration and specify the file path for log files (xes) in file: Recommender\config.ini
- In Recommender project, you should find two Run configurations a) Prom with UITopia (Recommender) and b) Prom Package manager (Recommender) adde to the run list within eclipse.
If not, click Run Configurations >> Java Applications and select the Prom with UITopia (Recommeder) option. This should add the configuration to the Run list.
- Run the Prom with UITopia (Recommender) option. You would see a Prom window show, after Prom initializes.
- Goto the actions tab, and select the "Activity Recommendation based on event logs". Select the log file as the input and hit "Start", and you should be able to find log-based generated graphs.
- Select an activity on the log-based graph (right-hand), you would see recommendations for the selected activity.
- Have a look at the application instruction report for more details on the demonstration.
How to generate logs (XES) from process models (PNML) by using CPN tools:
- We implemented a Java application to transform a business process model dataset from PNML format to CPN format, and then simulate the execution of the obtained processes (CPN) in order to generate process event logs in XES format.
- Download and install CPN Tools. The recommended version is 3.4.0
- Download the following application and data set (PNML)
- The EventLogGenerator.zip file contains the Eclipse project for the plugin. You can find the source code for the plugin within the src folder of the project.
- Import the project into the Eclipse workspace.
File >> Import ... >> Existing Projects into Workspace >> Next >> Select archive file >> Browse to the location of the EventLogGenerator.zip file >> Finish.
This should import the project into the workspace. If there are any problems with the library path or class path fix it.
- Before running the application, EventLogGenerator\config.ini need to be configured as follows:
- PNMLDataSetDir=C:\\pnml-dataset\\
# Directory that contains PNML dataset.
- EventLogsOutputDir=C:\\eventlogs-dataset\\
# Directory that will contain generated process event logs (XES.
- MinNumberOfProcessInstance=50
# Minimum no. of process instances for execution.
- MaxNumberOfProcessInstance=300
# Maximum no. of process instances for execution. For example here, the process will be executed with the no. of instances randomly between 50-300.
- CPNToolsExecuteable=C:\\Program Files (x86)\\CPN Tools\\cpntools.exe
# The executable file of CPN Tools in local drive.
- The application can be run by the following arguments:
- No argument: the application will transform dataset from PNML to CPN, and then automatically lunch the CPN Tools to simulate the execution of the CPN dataset.
- -cpn: the application will only transform PNML dataset to CPN dataset.
- -xes: the application will only lunch CPN Tools to simulate the execution of CPN dataset.
- The sample of generated logs (XES):
- The example of the screenshot when the application automatically lunch CPN Tools application to simulate the execution of a process