pm4py / pm4py-core

Public repository for the PM4Py (Process Mining for Python) project.
https://pm4py.fit.fraunhofer.de
GNU General Public License v3.0
722 stars 286 forks source link

dfg created using dfg_visualizer not detecting the starting activity of the process. I am using correlation miner without case id. #458

Closed Ashish3080 closed 10 months ago

Ashish3080 commented 11 months ago

I created a demo process flow diagram using dfg_visualizer but it is not detecting the starting activity and the final activity. As per my flow the correct starting activity should be 'open filezilla' and the correct final activity should be close filezilla. I am using correlation miner as my log file does not has case id associated with the tasks

Screenshot 2023-12-06 185811
fit-alessandro-berti commented 10 months ago

Dear @Ashish3080

For the correlation mining, you should manually provide the start/end activities as this is not detected by the method.

You can use the method pm4py.view_dfg(dfg, sa, ea) where:

The correlation mining technique could add arcs between end and start activities. Given the provided start/end activities, be sure that you remove them beforehand.