The routing said three days of work. The calendar said nine. In the monthly meeting everyone had a suspect: the paint line, the old press, the night shift. Nobody had looked at what the production orders themselves had been saying all along, in the dates the ERP records every time an order is released, gets its material, is confirmed and goes into stock.
In my 24 years in manufacturing I have sat in many meetings like that one. The argument is always about opinions, and the answer is almost always already in the system. Process mining on production orders simply reads those dates as a story: what happened to each order, in which order, and where it waited. In this article I show you the event log I ask for first, the four patterns I look for, and the traps that make a first analysis lie. The story is a composite of several plants and all numbers are illustrative.

Why production orders are harder than sales orders
If you read my order-to-cash process mining tutorial, you saw a fairly straight line: order, delivery, invoice, payment. Production orders are messier. One order has many operations, some run in parallel, quantities are confirmed in parts, orders are split, and a failed check sends the work back two steps. A dashboard with one "average lead time" hides all of that. Process mining shows it, because it follows each order through its real path instead of the path drawn in the routing.
The event log I ask for first
You do not need sixty events. For a first look I ask for seven, with a date and time for each, and the order number as the case ID:
| Event | What it tells you | Example in SAP |
|---|---|---|
| Order created | When the need appeared | Order creation date |
| Order released | When the floor was allowed to start | Status REL |
| Material issued | When parts really reached the order | Goods issue, movement type 261 |
| First operation confirmed | When work really started | Confirmation (CO11N) |
| Last operation confirmed | When work really finished | Final confirmation |
| Goods receipt | When the product reached stock | Movement type 101 |
| Technically complete | When the order was closed | Status TECO |
Any ERP records something similar under other names. If you run SAP, the same fields feed the MRP picture I described in SAP PP and AI: MRP, MD04 and the planner. The point is not the system. The point is that these dates are written by people doing their real work, not by people preparing a report.
Four patterns I look for
- Released without material. The order is released on Monday, the first goods issue comes on Thursday. In that plant this was the biggest single wait, 3.2 days on average, and it had nothing to do with any machine. Orders were released to "keep the plan green" while parts were still on the way.
- The real queue is in front of a different work center. When you measure the gap between one confirmed operation and the next, the longest wait is often not at the machine everyone blames. It is usually one step before or after it. This is the same lesson as in finding the open production bottleneck with data, seen from the order side.
- Rework loops that look like normal work. Operation 30, back to 20, then 30 again. Each confirmation looks normal on its own. Only the sequence shows that 14% of orders took the loop.
- Finished but not closed. The last operation is confirmed, but goods receipt or closing comes days later. Meanwhile WIP looks bigger than it is, and the cost reports are wrong for a whole month.
What the numbers looked like
| Segment | Average days (example) |
|---|---|
| Created → released | 1.5 |
| Released → first material issue | 3.2 |
| Material issued → first operation | 0.8 |
| First operation → last operation | 2.6 |
| Last operation → goods receipt | 0.9 |
| Total | 9.0 (work content: about 3) |
When the planners saw the red segment, the room went quiet for a moment. Then the warehouse supervisor said, "We have been telling you this for a year." He was right. The data did not discover something new. It made an old complaint impossible to ignore, and it moved the discussion from who is to blame to which rule causes the wait.
Where a first analysis can lie to you
- Confirmations entered at the end of the shift. If operators confirm everything at 22:00, every operation seems to finish at the same minute. The flow looks fast where it is not.
- Split and changed orders. An order split into three, or with its quantity changed after release, creates strange paths unless you handle it on purpose.
- Averages. The average hides the 10% of orders that wait three weeks. Look at the distribution, not only the mean.
- Missing dates. If a step is often skipped in the system, it looks like it never happens in reality.
None of these is a reason to stop. They are the reason a first pass needs someone who knows how the floor really books its work. I wrote more about choosing the first case in process mining: the event log and your first pilot.
A quick self-check
- Do you know the average gap between order release and the first material issue in your plant?
- How many of last month's orders went back to an earlier operation at least once?
- How many orders are physically finished but still open in the system today?
- When orders are late, is the discussion in your meetings based on opinions or on order history?
What I keep for the work itself
A clean export of these seven events already shows you more than most monthly reports. What makes it change the plant is the part I do with the team: how batch-entered confirmations and split orders are cleaned so the paths are honest, how each long wait is tied to the exact rule, role and data field that creates it, and the small set of measures that keeps the improvement from fading after three months. Those depend on your ERP and on how your floor really works, so I build them with your planners and your data.
Where do your production orders wait?
Send me an anonymised export of three months of production orders with these dates. I will tell you which segment is likely eating your lead time, whether rework loops are hiding in the confirmations, and what a first process mining pass on your orders would look like.
Contact me Read: order-to-cash process mining Read: find the real bottleneck
Sources
- Wil van der Aalst, Process Mining: Data Science in Action, Springer, 2nd edition, 2016.
- IEEE Task Force on Process Mining, Process Mining Manifesto.
- SAP Help Portal: production order statuses (REL, TECO), confirmations, and movement types 261 and 101.
- The story is a composite of several cases; the plant and all numbers in this article are illustrative.