Process mining before you redesign: what the event log shows and what it misses

In brief

Run process mining before you redesign a process. What event logs need, how variants, rework and waiting time change the decision, and what logs can't see.

Steve Elliott

Steve Elliott · · 7 min read


On this page
  1. What does process mining do with an event log?
  2. What data does process mining need?
  3. Worked example: what does an illustrative purchase-to-pay log show?
  4. How do the findings change the redesign decision?
  5. What can't process mining see?
  6. What about the people in the event log?
  7. Sources

Mine the event log before you redesign a process, because in our view the step people complain about is often not where the time goes. Process mining on data your systems already record can show which paths cases actually take, where they loop back and where they sit waiting, and that evidence can change what you decide to fix.

It cannot show work that never touches a system, and a log forced into one case per event can distort processes, such as purchase-to-pay, that link orders, invoices and payments many to many. Below, we read the Process Mining Manifesto and the current XES standard, work an illustrative purchase-to-pay example and set out the limits.

What does process mining do with an event log?

The Process Mining Manifesto, written by more than 75 people from over 50 organizations in the IEEE Task Force on Process Mining and published in Springer's Business Process Management Workshops 2011 proceedings, names three types of process mining. Each takes an event log as input.

TypeWhat it does, per the ManifestoQuestion it answers before a redesign
DiscoveryProduces a model from the log without using prior informationWhat paths do cases actually take?
ConformanceCompares an existing model with a log of the same processWhere does reality depart from policy or the documented process?
EnhancementExtends or repairs an existing model using the log, for example using timestamps to show bottlenecksWhere does time go, and at which steps?

Two of the Manifesto's six guiding principles matter most for redesign work. Guiding principle 2 says extraction should be driven by questions: "Without concrete questions it is very difficult to extract meaningful event data." Guiding principle 5 says discovered models should be treated as purposeful abstractions, like maps. In our view, both argue against extracting everything and hoping a picture emerges.

What data does process mining need?

In practice, three fields per event: a case identifier, an activity name and a timestamp. The Manifesto's strict minimum is that each event refers to a case and an activity and that events within a case are ordered; it treats timestamps as additional data that may be present. De Weerdt and Wynn's chapter in the Process Mining Handbook (Springer, 2022) also lists case, activity and ordering, and notes that the order usually comes from a timestamp. You need timestamps for anything about waiting time.

As of November 2026, the exchange format for such logs is IEEE 1849-2023, the eXtensible Event Stream (XES) standard. IEEE lists it as active, approved on June 5, 2023 and published on September 8, 2023, replacing IEEE 1849-2016, with no active revision project. It defines a tag-based grammar for event logs and streams, XML schemas, and a basic set of extensions that give meaning to recorded attributes.

Not every log is worth mining. The Manifesto grades logs from one star to five. Enterprise resource planning (ERP) tables sit at three stars: recorded automatically, trustworthy but not necessarily complete. At one star, such as paper records, the Manifesto says it makes little sense to apply process mining at all.

Getting the data out is the expensive part. De Weerdt and Wynn say data preprocessing is recognized as one of the most time-consuming parts of a process mining study, and that identifying the relevant event data takes strong domain knowledge because source systems do not record data with a process view. Van der Aalst's 2019 paper on object-centric process mining refers to extracting logs from "the thousands of tables of SAP." Budget for extraction before analysis.

Worked example: what does an illustrative purchase-to-pay log show?

All numbers below are illustrative. They come from no company and are chosen to show the mechanics.

The situation. A company pays suppliers late and misses early-payment discounts. A procure-to-pay (purchase-to-pay) redesign is proposed: new accounts payable software with automated approval routing, on the premise that invoice approval is the bottleneck.

The log. Six months from one ERP: 12,000 supplier invoices, about 80,000 events, nine activity types. The case is the invoice. The median invoice takes 21 days from receipt to payment.

Discovery: the variants. A variant is one distinct sequence of activities. Every variant includes an approval step; the table leaves it out for readability.

VariantPathShare of invoicesMedian days, receipt to payment
APurchase order, goods receipt, invoice, match, pay38%14
BPurchase order, invoice, goods receipt, match, pay21%26
CPurchase order, goods receipt, invoice, price block, change order price, release block, pay13%37
DInvoice, purchase order created afterward, goods receipt, match, pay8%31
OtherMore than 1,400 rarer variants20%29

Enhancement: where the waiting is. Median wait before each step, counted across all variants, including the rarer ones in Other:

Wait beforeInvoices affectedMedian wait
Invoice approval12,000 (100%)1.5 days
Goods receipt, when the invoice arrived first (variants B and D, plus 600 in Other)4,080 (34%)11 days
Release of a price block (variant C, plus 480 in Other)2,040 (17%)16 days
Purchase order created after the invoice (variant D, plus 240 in Other)1,200 (10%)9 days

Rework. Counting all variants, the same 17% of invoices have their order price changed after the invoice arrives, and 3% are blocked for payment twice or more, all of them in the rarer variants.

Conformance. Against the purchasing policy, which requires an order before an invoice, the 10% with an order raised afterward (variant D and some rarer paths) are deviations by definition. The other variants mostly conform; they are slow for different reasons.

How do the findings change the redesign decision?

A rough comparison, using medians as an approximation, puts waiting in invoice-days:

  • Approval: 12,000 × 1.5 = 18,000 invoice-days.
  • Goods receipt lag: 4,080 × 11 = 44,880.
  • Price blocks: 2,040 × 16 = 32,640.
  • Orders raised after the invoice: 1,200 × 9 = 10,800.

Approval accounts for about 17% of the 106,320 total. The other three causes, about 83%, start outside accounts payable: in receiving, in purchase order pricing and in buying without an order.

The discount problem makes this sharper. Suppose, illustratively, that the discounts on offer require payment within 10 days. Variants B to D have medians of 26 to 37 days, so even approval in zero time leaves them far outside the window. Even variant A, at 14 days, would sit at about 12.5 days with no approval wait at all, still outside it. Approval automation alone cannot win the discounts back.

In our view, the redesign should move upstream. Ask receiving teams to post goods receipts on the day of delivery, keep contract prices current on purchase orders and treat after-the-fact orders as a policy and control issue. Approval automation may still be worth buying, but as a smaller project with a smaller business case. Whether to automate the remaining steps, and with what, is a separate choice; see RPA, intelligent automation or AI agents.

We would run the mining before the redesign is scoped, so the business case is sized to where the waiting actually is. In our view, mining pays off most when its findings are tied back to the operating model: who owns receiving, who owns purchase order prices and which measure each owner answers for, so the next log shows whether the change held.

What can't process mining see?

Anything that never touches a system, and anything a single case notion distorts. The first limit below is our view; the others come from the sources.

  • Work outside systems. The log shows that a price block waited 16 days. It does not show the buyer chasing the supplier by email, the spreadsheet of disputed prices or the phone call that resolved it. In our view, interviews and observation still have to explain the why.
  • Posting time is not doing time. A goods receipt posted on Friday may record a delivery that arrived on Monday. De Weerdt and Wynn note that the order in which events are recorded can stand in for execution order only if the two match. In our view, check this with the people who post before you trust a waiting-time figure.
  • One case notion distorts the picture. Purchase-to-pay links orders, receipts, invoices and payments, often many to many. Van der Aalst's 2019 paper names two effects of forcing such data into one case per event: convergence, where one event relates to several cases and is copied, inflating counts; and divergence, where repeated activities within one case interleave and suggest loops that don't exist. The OCEL 2.0 specification (2024) says this flattening "may lead to misleading analysis results," and defines an object-centric log format, with a running example built on requisitions, orders, invoices and payments.
  • Logs are samples. The Manifesto warns that logs contain only sample behavior and should not be assumed complete, and that a process may change while it is being analyzed, which it calls concept drift.

What about the people in the event log?

The Manifesto lists resource data, meaning who or what performed a step, among the properties an event may carry. Where it is present, a process mining extract is also a record of employees' work. The Manifesto's first guiding principle says privacy and security concerns should be addressed when events are recorded, and that the people involved should know what is recorded and how it is used.

In the EU, the General Data Protection Regulation applies to that personal data. Its Article 88 lets Member States set more specific rules, by law or collective agreement, for processing employees' data, and requires those rules to include safeguards, with particular regard to monitoring systems at the workplace. This describes the text; it is not legal advice, so confirm how it applies to you with counsel and, where relevant, employee representatives. In our view, pseudonymize resource identifiers unless a question needs them.

Sources

Frequently asked questions

What data do you need to start process mining?

In practice, an event log in which each event has a case identifier, an activity name and a timestamp. The Process Mining Manifesto's strict minimum is case, activity and an ordering of events, but waiting-time analysis needs timestamps. The Manifesto rates ERP tables three stars of five: trustworthy, but not necessarily complete. Start from a concrete question, not a full extract.

What are discovery, conformance and enhancement in process mining?

They are the three types the Process Mining Manifesto defines. Discovery builds a process model from an event log without prior information. Conformance compares an existing model with the log to find deviations. Enhancement extends or repairs a model with information from the log, for example adding timestamps to show where cases wait. Before a redesign, discovery shows the paths, conformance the deviations and enhancement the waits.

Is XES still the standard format for event logs?

Yes. As of November 2026, IEEE lists IEEE 1849-2023, the eXtensible Event Stream standard, as active. It was published on September 8, 2023 and replaced the 2016 version. Separately, OCEL 2.0, a specification (not an IEEE standard) from RWTH Aachen researchers, defines an object-centric format for processes such as purchase-to-pay, where one event can involve several orders, invoices or payments.

Can process mining replace process interviews and workshops?

No. In our view it changes what interviews are for. The log shows which paths cases take and where they wait, which puts numbers on arguments about frequency and duration. It cannot see email, spreadsheets, phone calls or delays in posting, so people still have to explain why cases wait. Run the mining first, then take its findings to the interviews.

Free playbook

Make your organization legible to its people and its AI.

Read the playbook
Steve Elliott

Steve Elliott

Published December 1, 2026

More on Operating Model & AI-Native Ops

Ontology, knowledge graph, headless.