Apromore allows us to discover a process map or a BPMN model from an event log. A process map (a.k.a. directly-follows graph) is a visual representation of the log as a graph where nodes capture process activities and directed arcs between them capture sequential order relations between the activities. For example, an arc going from activity “Accept order” to activity “Check order” indicates that in the log, we can observe that process cases flow from “Accept order” to “Check order”. Process maps are a simple yet effective means to understand the basic order of relationships between process activities. As such, they are the most common type of model discovered by commercial process mining tools.
View process map¶
To view the process map, double-click on a log. Alternatively, we can select a log from the repository and click on “Discover > Discover model”.
A window will open up, showing the process map discovered from the log.
We can adjust the complexity of the discovered map by increasing or decreasing the frequency or duration of nodes and arcs visualized in our process map. The default values for the nodes and arcs sliders are 100% and 10%, respectively.
We can abstract a process map by “Case frequency” or “Average Duration”. For example, if we abstract by case frequency and shift the arcs or nodes slider towards the left, more edges/nodes with low case frequency will be removed from the process map.
Similarly, if we abstract by “Average Duration” and shift the arcs or nodes slider towards the left, more edges/nodes with low average duration will be removed from the process map.
Visualize by Frequency¶
We can view the event log’s simple statistics, such as the total, median, minimum, maximum, and average number of times an activity is executed. This information is provided as a label on the activities/arcs, color of activities, and arcs’ thickness. The darker the blue color, the higher the number of times that activity has been observed in the log. The thicker arc, the higher the frequency of that arc. We can use the Frequency drop-down list in the “Visualization settings” section to view different statistics.
Visualize by Duration¶
We can also view the statistics on the time performance of the activities and arcs in the process map using the “Duration” drop-down list in the “Visualization settings” section. These are total, mean, median, minimum, maximum, and average duration of each arc (indicating the waiting time before starting a given activity, once the previous one has been completed), and total, mean, median, minimum, maximum, and average duration of each arc duration of an activity (a.k.a. the activity’s processing time). Suppose the log only has completion timestamps for each activity and not their start timestamp. In that case, these performance statistics will combine both processing time and waiting time into a single time statistics visualized on the arc. At the same time, activities will be shown as having an instantaneous duration.
Like frequency statistics, we can also visualize time performance statistics via labels on activities and arcs and via colors and line thickness (on a red scale) for activities and arcs.
Visualize by Frequency and Duration¶
We can also view both “Frequency” and “Duration” at the same time by clicking the ‘eye’ button. For example, if we are viewing our process map in “Frequency” mode, we can also view the “Duration” as a secondary metric by clicking on the “eye” button.
Visualize by Different Perspectives¶
Visualizing the handover between activities is not the only way a process can be analyzed. There will be times when we may be interested in assessing if a specific resource or group of resources are overloaded with work. When clicking on “Perspective” we can decide which attribute of the log will focus on the process map.
For example, to visualize the handover of work among a group of resources, we can select the “Resources” option. This option will map each actor’s organizational role in our process to a node and connect two nodes if a handover of work occurs between the two nodes.
When analyzing an event log, we may be interested in isolating a particular type of behavior or removing a specific activity. An event log can be filtered by clicking on the “Filter” icon and creating a new filter that fits our needs. For more information on the optimal use of “Filter,” we suggest viewing the Filter Log manual.
View BPMN Model¶
Whenever the insights deriving from the analysis of a process map are not sufficient, the same functionalities are offered on top of a BPMN model. Changing the view from “Process Map” to “BPMN model” will automatically discover a BPMN model from an event log. When visualizing a BPMN model, the slider “Parallelism” offers the possibility to adjust the amount of parallelism (e.g., AND and OR gateways) discovered by the plugin.
Export Process Map/BPMN Model¶
A filtered log or discovered process map/BPMN can be exported by clicking on the different save buttons to export the model as a “.bpmn”, a PDF, PNG, or a JSON file.
Animate Log (Process Map)¶
The “Animate” button allows us to replay the log on top of the process map, using the “Animate a log” on top of the process map feature.
We can also search for an activity by using the search bar on the top-right.
For ease of view, the search results get highlighted in the process map.