Skip to content

What is process mining and what is it for?

A technique that rebuilds how a business process really runs, starting from the event logs of enterprise systems.

Process mining is an analysis technique that rebuilds how a business process really runs, starting from event logs: the traces that the ERP, the CRM or the document system leave every time someone creates an order, approves an invoice or changes a delivery. Each row of these logs says three things: which case, which activity, at what moment. Lined up, the rows show the real path of every case, with the deviations, the loops back and the waiting times that a diagram drawn in a meeting room usually leaves out. The Process Mining Manifesto of the IEEE Task Force on Process Mining, led by Wil van der Aalst, sets out its three classic activities: discovering the model from the data, checking conformance between the expected model and the observed behavior, and enhancing the model with times, costs and bottlenecks. The result is a process map that comes from recorded facts, not from interviews with the people involved.

See also: APA vs RPA vs IPAThree automations differing by who decides the path: the script author (RPA), rules and models (IPA), an agent (APA).

Where the data comes from

Most of the real work is preparing the log. The data is scattered across dozens of ERP tables, with different identifiers and timestamps recorded inconsistently, and data quality decides the quality of the map. For exchange between tools there is the IEEE 1849 XES standard, published in 2016 and revised in 2023, which describes a log where each event belongs to a single case. In reality an event often touches several objects at once, an order, three lines and two deliveries, which is why the OCEL 2.0 specification proposes object-centric logs that avoid duplicating or losing events when everything is forced onto one identifier.

Process mining and task mining

Task mining instead records the actions on a person's computer: clicks, open windows, copy and paste between applications. Process mining sees what happened in the systems; task mining sees how the person got there, including work that leaves no trace in the ERP. ERP logs also record who did what, but watching employees' desktops goes further: it falls under the GDPR and, in Italy, under the rules on remote monitoring of workers in Article 4 of the Workers' Statute, so before it is switched on it needs a legal basis, a notice to staff and, as a rule, a union agreement or authorization from the labor inspectorate.

An enterprise example

A manufacturing SME wants to automate its purchase-to-pay cycle with RPA or an agent. On the diagram the flow is linear: order, goods receipt, invoice, matching, payment. Extracting events from the ERP, the map might show invoices booked before the order, matches unblocked by hand and variants by supplier. Automating the drawn flow would mean automating only the standard path and leaving the variants to be handled by hand: first you decide which variants to remove, then which to automate with RPA or IPA. The same map is useful before an ERP migration, so the exceptions of the old system are not carried into the new one.

Why it matters for decision makers

Whoever signs off an automation project usually works from a description of the process that is an average of opinions. Process mining replaces that average with an observation: how many variants there are, where cases wait, where work is redone. It is the diagnosis that comes before the cure, and it also shows when the right cure is not a robot but a simpler rule in the ERP.

  • APA vs RPA vs IPAThree automations differing by who decides the path: the script author (RPA), rules and models (IPA), an agent (APA).
  • Intelligent Process Automation (IPA)Intelligent Process Automation combines automation and AI to handle variable inputs, such as documents and emails, within processes that have defined controls.
  • BPMNOMG's standard graphical notation for modeling a business process with events, activities, gateways and lanes.
  • ERP MigrationAn ERP migration is the path to replace, flank, or keep the management system a company works on every day.
  • RPA (robotic process automation)A robot mimicking clicks pays off where no API exists and the procedure is stable: elsewhere it costs more than it saves.

See it in the universe

If it touches your company's data, getting that data in order is the first thing I do.

See Data Foundations

Or write to me.