Machine Learning pathway increased my salary by 40%
HR Workflow Discovery, Process Mining and Automation Design
Most automation programmes fail before code is written, because they automate a process the organisation describes rather than the one it actually runs. Discovery is the discipline that closes that gap — and it is cheaper than any build.
This chapter treats discovery as measurement. It covers how to inventory HR work, how process mining reconstructs what really happens from event logs, and where those logs are thin in HR systems. It then sets out a scoring method for ranking candidates, an exception taxonomy that predicts where the long tail will consume the business case, and a design method that separates deterministic logic from model-assisted judgment. It closes with baseline definition, worker consultation and the monitoring limits that decide whether an apparently sound automation is lawful to deploy.
What this covers
- Who this is for
- HR operations leaders, continuous-improvement and process teams, people-analytics professionals and solution designers responsible for selecting and specifying automation candidates.
- What it assumes
- Chapters 01–08. Familiarity with one HR process end to end — onboarding, leave, payroll input or recruitment — is more useful than any technical background.
- What you will be able to do
- Build a process inventory, read a process-mining result critically, score and rank candidates with a defensible method, define a baseline, and produce an automation design that states its exception strategy.
- Reading time
- About 25 minutes, including the knowledge check and question bank.
The process you have and the process you describe
Every organisation has a documented process and an actual one. The documented version has seven steps and a clean approval; the actual one has nineteen steps, four local variants, two shadow spreadsheets and a person in one region who resolves exceptions in their inbox because the system cannot represent them. Automating the documented version produces a system nobody uses, alongside the old one.
Discovery exists to replace description with evidence. It answers four questions: how often does this process run, how long does it take from start to outcome, which paths do cases actually take, and where does rework happen. Those four numbers do more for candidate selection than any maturity model, because they reveal both volume and friction.
The commercial argument is straightforward. A discovery exercise costs weeks and produces a ranked portfolio with measured baselines. Building the wrong process costs quarters, and the failure is usually attributed to the technology rather than to the selection decision that preceded it.
- Documented process and actual process diverge; automate the measured one.
- Measure volume, cycle time, path variants and rework before deciding anything.
- Discovery is cheap relative to building the wrong process.
- Attribute selection failures to selection, not to the technology.
Process mining: what the log can tell you
Process mining reconstructs a process from event logs: each event has a case identifier, an activity, a timestamp and ideally an actor. From that, three analyses follow. The variant analysis shows which sequences actually occur; most processes have a dominant happy path and a long tail of variants, and the shape of that tail predicts automation difficulty better than any interview.
The performance analysis shows cycle time and waiting time per activity, which separates work from queue. In HR the queue usually dominates: a case that takes nine days typically spends eight of them waiting for a person, a document or a decision. Automating work while leaving the queue untouched produces a faster step inside a slow process.
Conformance checking compares the log against the intended model and surfaces deviations — approvals skipped, steps performed out of order, records changed after closure. These are not necessarily failures; frequently they are the workarounds that keep the process functioning, and they are the requirements an automation must respect or explicitly retire.
- Variant analysis reveals the real path distribution and the shape of the tail.
- Separate work time from waiting time; queues usually dominate cycle time.
- Conformance deviations are often necessary workarounds, not errors.
- Use the log to find where records are changed after closure — a control signal.
- Establish case identity before mining, or results are meaningless.
Where HR event data is thin, and what to do about it
HR processes are only partly instrumented. The HCM records status changes, an ITSM tool records tickets, a payroll system records inputs and a recruitment platform records stages. Between those systems sit email, chat, spreadsheets and telephone calls where a substantial share of the actual work happens, and none of it appears in the log.
The practical response is triangulation rather than perfection. Combine system events with ticket histories, document timestamps, approval logs and a short period of structured observation. Where observation is the only source, sample deliberately by case type and region rather than asking the team to describe a typical day, because teams describe the best case.
Case identity is the most common technical obstacle. If the onboarding process is recorded under a hire identifier in one system, a ticket number in another and a document name in a third, the log cannot be joined. Discovering the identity mapping is part of the discovery work, and the mapping's fragility is itself a finding about integration readiness.
- Most HR work is only partly instrumented; email and chat are invisible to logs.
- Triangulate system events, ticket histories, document timestamps and observation.
- Sample by case type and region; do not ask teams to describe a typical day.
- Establish case identity mapping across systems as an explicit discovery output.
- Treat weak identity mapping as an integration-readiness finding.
A scoring method for choosing what to automate
Score candidates on six dimensions, each with an explicit rubric. Volume and frequency, because automation costs are largely fixed. Standardisation, measured as the share of cases following the top two or three variants. Exception load, which drives the human effort that survives automation. Cycle time, weighted toward waiting time. Cost of error, which determines how much control machinery the process needs. Data and integration readiness, which predicts elapsed time to delivery more accurately than complexity does.
Weight the scores against your actual constraint. An organisation with scarce engineering capacity should weight readiness and standardisation heavily, because delivery speed dominates. An organisation driven by service complaints should weight waiting time. The weights are a management decision and should be recorded as such, because they encode the trade-offs the portfolio will reflect for a year.
Include a deliberate disqualifier for any process where the decision is a legal or medical judgment. Those can be supported, informed and accelerated; they cannot be delegated. Naming that boundary in the selection method prevents a category error later, when an automation proposal quietly frames a clinical or disciplinary decision as a routing problem.
- Score volume and frequency on measured case counts, not estimates.
- Measure standardisation as the top-variant share from the event log.
- Quantify exception load in minutes per case from observation.
- Weight cycle time by waiting rather than work.
- Rate cost of error and required control stringency.
- Assess data and integration readiness honestly; it predicts delivery time.
- Disqualify processes whose core decision must remain human by law or ethics.
Exception load and the long tail of HR cases
Automation business cases typically assume the happy path and are destroyed by the tail. If 68 per cent of cases are standard and 32 per cent require judgment, a system that handles only the standard path redeploys rather than removes effort, and the residual queue is more expensive per case because it contains only the hard ones.
The design response is to plan for the tail explicitly: classify exceptions, decide which are automatable with review, which need human ownership and which should be prevented upstream by a policy or form change. A surprising share of exceptions disappear when the intake is improved — a field that exists, a validation that runs at submission, a document requirement stated in advance.
Track straight-through processing rate as the primary metric and human minutes per case as the secondary. Together they prevent the classic overstatement: a high automation rate on a narrow slice, paired with unchanged total effort because the exceptions consume the same number of people as before.
- Assume a substantial exception share and model it into the business case.
- Classify exceptions: automatable with review, human-owned, preventable upstream.
- Improve intake to eliminate exception classes rather than automating them all.
- Report straight-through processing rate and human minutes per case together.
- Watch for a shrinking standard path with an unchanged headcount.
The automation design method
Begin from decisions rather than from steps. For each decision in the process, ask whether it is deterministic given data (eligibility against a policy, date arithmetic, entitlement balances), judgmental but bounded (is the documentation sufficient, which queue does this belong to), or genuinely human (a disciplinary outcome, a clinical opinion). That classification determines what the agent does, what code does and where the gate sits.
The default architecture is a deterministic core with model-assisted steps at the edges. Rules, arithmetic, thresholds and state transitions belong in code with tests. Language models add value at interpretation, drafting, classification against a taxonomy and summarising evidence — tasks where variation is high and the cost of an individual error is bounded by review.
Specify the refusal path as carefully as the success path. What does the system do when it cannot determine jurisdiction, when a document is illegible, when two records disagree? A refusal that names the missing item and routes to a named owner is a feature. A confident wrong answer is the failure mode that costs trust.
- List every consequential decision in the process.
- Classify each as deterministic, bounded judgment or human.
- Implement deterministic decisions in tested code.
- Place model steps only at interpretation, drafting and classification.
- Write the refusal path and its named owner for every step.
- Define evidence captured per step before implementation begins.
Baselines, metrics and proving improvement
A baseline is a set of definitions plus a measured value on a comparable case mix. Define each metric precisely — what counts as the start, what counts as the outcome, whether waiting for the employee is included, how rework is attributed — then measure it before anything changes. Ambiguity in definitions is what allows both the sponsor and the operations manager to be convinced they are right.
The core set is small: cycle time at the fiftieth and ninetieth percentile, straight-through processing rate, human minutes per case, rework rate, error and exception rates, employee satisfaction or effort score, and cost per case. Add process-specific quality measures where the risk is asymmetric, such as payroll accuracy or eligibility determination accuracy.
Prove improvement on matched samples. Compare cases of the same type, in the same region, at similar volume, before and after. A raw post-implementation average that coincides with a seasonal peak or a policy change proves nothing, and the absence of a credible comparison is why many automation benefits are asserted rather than demonstrated.
- Write metric definitions before measuring; agree them with operations.
- Baseline cycle time at percentiles, not as an average.
- Measure straight-through rate, human minutes, rework and error rates.
- Compare matched case types and periods, not raw pre/post averages.
- Keep the baseline record with the business case for later audit.
Worker consultation, transparency and monitoring limits
Process discovery is often the moment an organisation starts measuring individual work in ways it did not before, and in many jurisdictions that triggers consultation obligations. Works councils and employee representatives frequently have information and consultation rights over systems that monitor performance, and in several European jurisdictions the introduction of AI-based monitoring has specific procedural requirements.
Be precise about what you are measuring. Process-level analysis answers questions about the process; person-level analysis answers questions about individuals. The first is usually necessary and defensible; the second requires a stated purpose, proportionality, transparency and, in many cases, agreement. Conflating them is how a well-intentioned efficiency programme becomes an industrial relations dispute.
Transparency helps rather than harms. Publishing what is measured, why, who sees it and what it is not used for reduces suspicion and improves the data quality, because people stop gaming the timestamps. The related obligation is purpose limitation: data collected for process improvement should not quietly become an input to individual performance management.
- Check consultation obligations before instrumenting individual work.
- Separate process-level measurement from person-level monitoring in design and policy.
- State purpose, proportionality and audience for any person-level data.
- Publish what is measured and what it will not be used for.
- Apply purpose limitation: improvement data is not performance data.
Discovery anti-patterns
The interview-only assessment produces a process map of aspirations. The hiPPO selection — highest-paid person's opinion — picks the visible process rather than the expensive one. The happy-path business case understates exception load and overstates savings. The unbounded scope automates an entire end-to-end process in one release, guaranteeing a long delivery with no feedback.
The vanity metric reports automation rate on a narrow slice while total effort is unchanged. The discovery that never ends produces excellent analysis and no deployment. And the process chosen because it is easy, rather than because it matters, consumes the organisation's first automation credibility on something nobody cared about.
- Interview-only discovery: a map of how people wish the process worked.
- HiPPO selection: visibility substituted for cost.
- Happy-path business case: ignores the tail that consumes the benefit.
- Big-bang end-to-end scope: long delivery, late feedback.
- Vanity metrics: automation rate without effort reduction.
- Analysis without deployment, or trivial processes chosen for comfort.
The discovery deliverable: a process dossier
Discovery should end with a document short enough to be read and complete enough to be built from. The process dossier is that artefact: one to three pages per process, versioned, owned and reused at every later review.
It contains the measured baseline, the variant distribution with the top paths named, the exception taxonomy with volumes and handling cost, the decision inventory classified as deterministic, bounded judgment or human, the systems and identifiers involved, the data readiness findings, the applicable consultation obligations, the proposed design with its exception strategy, and the outcome metrics with targets.
The discipline of writing it exposes gaps that workshops hide. A team that cannot state the exception volumes has not measured them. A design that cannot name the owner of the refusal path has not resolved the operating model. A baseline without percentile cycle time cannot later prove improvement, and the absence is discovered only when the business case is challenged.
Dossiers compound. The second and third processes reuse the identifier mappings, the system inventory and the consultation framing from the first, which is why a discovery method that produces this artefact gets faster each cycle, while one that produces slide decks does not.
- Write the measured baseline with percentile cycle time and case counts.
- Name the top variants and quantify the exception taxonomy.
- Classify every consequential decision and record its owner.
- List systems, identifiers and data-readiness findings.
- State consultation obligations and how they will be met.
- Specify the design with its refusal path and outcome metrics.
- Version and own the dossier; review it at each portfolio cycle.
Seasonal load and the capacity question
HR demand is not flat. Graduate intake concentrates in a few weeks, year-end brings payroll and benefits activity together, open enrolment compresses benefit changes into a window, and policy changes produce bursts of questions that decay over a fortnight. A design validated at average volume can fail at five times average volume in the same week that the deadline is hardest.
Discovery should measure the peak, not only the mean. Extract weekly volumes across a year, identify the top four weeks and the composition of the work inside them. If the peak is dominated by a narrow activity — document verification, scheduling, benefit enquiries — that activity is where automation capacity matters, and where the human queue must be designed to flex.
The design response has three parts. Decouple intake from processing so arrivals are queued rather than dropped. Classify work by consequence so that during a peak the system degrades deliberately — deferring low-consequence tasks and protecting statutory deadlines — instead of degrading randomly. And plan the human capacity for the exception queue at peak, because that is the number that determines whether service survives.
Queue discipline is genuinely technical: priority by deadline and consequence, ageing alerts, and a stated maximum wait per class. Without it, a peak reorders work by arrival and the statutory cases slip behind the routine ones, which is exactly the failure that generates complaints and findings.
- Measure weekly volume across a year; design for the top four weeks.
- Identify the dominant activity inside the peak and protect its capacity.
- Queue intake rather than dropping requests when volume spikes.
- Degrade deliberately by consequence; never degrade randomly.
- Staff and schedule the exception queue against peak, not average.
Key takeaways
Discovery is measurement. Use event logs where they exist, triangulate where they do not, and rank candidates on volume, standardisation, exception load, cycle time, error cost and readiness. Design from decisions, keep a deterministic core, and state the refusal path.
Chapter 10 turns to the automation estate already inside most HR functions: RPA bots, intelligent document processing and the rules engines that predate agents — and to the practical question of how agentic orchestration absorbs that estate without a disruptive rewrite.
- Rank with a weighted, recorded method; weights encode management trade-offs.
- Model exception load explicitly or the business case fails in production.
- Classify decisions, then place code, model steps and human gates accordingly.
- Define and measure a baseline on matched samples before building.
- Consult before monitoring individuals; keep process and person data separate.
- Choose processes that matter, then deliver in bounded increments.
5 questions to test the model
What does process-mining variant analysis most directly reveal?
In HR processes, where does cycle time usually accumulate?
Why must the exception share be modelled into the business case?
Which decision type should not be delegated to an agent at all?
Why separate process-level analysis from person-level monitoring?
Questions this page answers
Do we need full process mining tooling to start?
What if our HR systems have no event logs at all?
How many processes should a first portfolio contain?
What is a reasonable straight-through processing target?
How do we handle regional variants?
Should we automate a process that is about to be redesigned?
What is a good cost-of-error rating?
How do we score data readiness?
How long should discovery take?
What do we do about workarounds found in the log?
Who should own the process inventory?
How do we avoid automating a process that regulation may change?
What is the right first process?
How do we measure waiting time?
Does consultation slow delivery?
How many exceptions is too many?
How do we handle a process that differs by employment type?
What evidence should the design capture per step?
How do we stop discovery becoming a permanent programme?
What comes next in the course?
What does The process you have and the process you describe explain about HR Workflow Discovery, Process Mining and Automation Design?
What does Process mining: what the log can tell you explain about HR Workflow Discovery, Process Mining and Automation Design?
What does Where HR event data is thin, and what to do about it explain about HR Workflow Discovery, Process Mining and Automation Design?
What does A scoring method for choosing what to automate explain about HR Workflow Discovery, Process Mining and Automation Design?
What does Exception load and the long tail of HR cases explain about HR Workflow Discovery, Process Mining and Automation Design?
What does The automation design method explain about HR Workflow Discovery, Process Mining and Automation Design?
What does Baselines, metrics and proving improvement explain about HR Workflow Discovery, Process Mining and Automation Design?
What does Worker consultation, transparency and monitoring limits explain about HR Workflow Discovery, Process Mining and Automation Design?
What does Discovery anti-patterns explain about HR Workflow Discovery, Process Mining and Automation Design?
What does The discovery deliverable: a process dossier explain about HR Workflow Discovery, Process Mining and Automation Design?
What does Seasonal load and the capacity question explain about HR Workflow Discovery, Process Mining and Automation Design?
What does Key takeaways explain about HR Workflow Discovery, Process Mining and Automation Design?
Which risks or limitations apply to The process you have and the process you describe in HR Workflow Discovery, Process Mining and Automation Design?
Which risks or limitations apply to Process mining: what the log can tell you in HR Workflow Discovery, Process Mining and Automation Design?
Which risks or limitations apply to A scoring method for choosing what to automate in HR Workflow Discovery, Process Mining and Automation Design?
Which risks or limitations apply to The automation design method in HR Workflow Discovery, Process Mining and Automation Design?
Which risks or limitations apply to Baselines, metrics and proving improvement in HR Workflow Discovery, Process Mining and Automation Design?
Which risks or limitations apply to Worker consultation, transparency and monitoring limits in HR Workflow Discovery, Process Mining and Automation Design?
Which risks or limitations apply to Seasonal load and the capacity question in HR Workflow Discovery, Process Mining and Automation Design?
How is performance assessed for Exception load and the long tail of HR cases in HR Workflow Discovery, Process Mining and Automation Design?
Sources and standards
- ISO/IEC 42001:2023 — AI management system
Framing for impact assessment and lifecycle governance of HR automation.
- EU AI Act — Regulation (EU) 2024/1689
Employment-related AI is high-risk; obligations include human oversight and record-keeping.
- GDPR — purpose limitation and employee monitoring
Basis for separating process measurement from individual monitoring.
- IEEE 1849-2023 — Standard for eXtensible Event Stream (XES)
Event-log interchange standard underpinning process-mining tooling.
- NIST AI RMF 1.0 — Map and Measure functions
Structured approach to scoping, measuring and prioritising AI use cases.
- ISO 30414:2018 — Human capital reporting
Metric definitions useful for consistent workforce baselines.
- Celonis — process mining academy
Practical instruction in variant, conformance and performance analysis.
- DAMA-DMBOK — data quality and stewardship
Data readiness and ownership practices that predict delivery time.
Continue through the chapters
Next: the existing automation estate — what RPA still does well, where it breaks, and how agentic orchestration absorbs it without a disruptive rewrite.
Continue this lesson with a subscription
Multi-Agentic AI HR Tech Automations is part of the paid catalogue. You have read the free preview. A subscription opens the rest of this lesson, the classroom slides and the assessment questions.
- The full lesson for this topic and every other catalogue topic
- Every classroom slide deck and worked example
- All assessments, with a verifiable certificate on completion
The Free-To-Learn library stays open to everyone and is not affected by this.
