A process definition document (PDD) is the formal specification that describes a business process exactly as it is performed today, step by step, so that it can be automated with RPA (robotic process automation). It captures the inputs, applications, screens, decisions, business rules and exceptions of the process, and it becomes the agreed source of truth between the business owner who knows the work and the developers who build the software robot.
In the delivery lifecycle of automation, the PDD sits between the opportunity assessment and the technical design. It answers the question what the robot must do, while the later solution design document answers how the robot will do it. A weak PDD is one of the most common reasons why RPA projects overrun, because gaps discovered during development force rework and repeated testing.
What a process definition document contains
A PDD contains everything a developer needs to reproduce the process without asking the business again. Its core is the as-is process map combined with a keystroke-level step description, but it also documents scope, volumes, systems and the people responsible for sign-off.
The following table lists the sections found in most PDD templates and the question each one answers.
| Section | Content | Why it matters |
|---|---|---|
| Process overview | Purpose, trigger, owner, frequency | Frames scope and business value |
| Volumes and timing | Cases per day, peaks, service levels | Sizes robot capacity and schedules |
| Applications list | Systems, versions, access method, credentials owner | Reveals technical constraints early |
| As-is process map | Flowchart of steps and decisions | Shows the logic at a glance |
| Detailed steps | Screen-by-screen actions with screenshots | Lets developers build without guessing |
| Business rules | Conditions, thresholds, validations | Defines the decisions the robot makes |
| Exceptions | Business and system exceptions with handling | Prevents silent failures in production |
| Out of scope | Variants and steps that stay manual | Protects the project from scope creep |
Many teams also attach sample input files, test data and a list of open questions. Screenshots should be masked for personal data, because PDDs are shared widely across business, IT and vendor teams.
How a PDD is produced
A PDD is produced through structured discovery with the subject matter expert, the person who performs the process daily. A business analyst observes the work, records each click and decision, and then validates the draft with the expert until no step remains ambiguous.
- Kick-off and scoping: agree on the trigger, the end point and the variants in scope.
- Shadowing sessions: watch the expert process real cases, ideally including exceptions.
- Recording and capture: use screen recordings or task mining data to confirm the actual path.
- Drafting: write steps, rules and exceptions in a consistent template.
- Walkthrough and correction: replay the draft with the expert and fix gaps.
- Formal sign-off: the process owner approves the PDD as the baseline for development.
The sign-off step is decisive. Once the process owner approves the document, any later change to the process becomes a formal change request, which keeps estimates, test cases and acceptance criteria stable.
PDD compared with other RPA delivery documents
The PDD is one of several documents in a typical RPA methodology, and confusing them leads to duplicated or missing content. The PDD is business-facing and technology-neutral, while the documents that follow it are written for developers, testers and operations staff.
| Document | Prepared by | Main question | Audience |
|---|---|---|---|
| Opportunity assessment | Business analyst or CoE | Is the process worth automating | Sponsors |
| Process definition document | Business analyst | What exactly happens today | Business and developers |
| Solution design document | Solution architect | How the robot will be built | Developers |
| Test plan and cases | Tester | How success is verified | Testers and business |
| Operations runbook | Developer or support lead | How the robot is run and recovered | Support team |
The PDD also differs from a general standard operating procedure. An SOP is written for people and tolerates judgment calls such as “check that the data looks correct”; a PDD must turn every such judgment into an explicit, testable rule, because a software robot cannot interpret vague instructions.
Level of detail and business rules
A good PDD describes the process at keystroke and field level. It names the exact screen, the field, the value entered and the expected result, because a UI selector or other locator later depends on these details.
Business rules deserve particular care. Each rule should state the condition, the action and the source of the threshold, so that the robot behaves identically to an experienced employee. Rules that live only in the expert’s head are the most frequent hidden gap discovered during development.
Exceptions are documented in two groups. A business exception arises when the data breaks a rule, for example a missing purchase order number, and usually goes to a human queue. A system exception arises when an application fails, for example a timeout, and usually triggers a retry.
| Weak statement | Precise statement | Effect on the robot |
|---|---|---|
| Check the invoice amount | If amount exceeds 10,000 EUR, route to approver queue | Clear branch logic |
| Open the customer record | Search by customer ID in field Cust_No on screen CRM-02 | Stable selector target |
| Handle errors as usual | On login failure, retry twice, then raise system exception | Defined recovery path |
| Use the latest report | Download the file named with the previous business day date | Deterministic input choice |
Common mistakes and how to avoid them
Most PDD problems come from documenting the ideal process instead of the real one. Experts often describe the official procedure and forget workarounds, extra checks or spreadsheets they use every day, so shadowing real cases matters more than interviews.
| Mistake | Consequence | Remedy |
|---|---|---|
| Missing exceptions | Robot stops or produces wrong output | Shadow cases with errors, not only clean ones |
| Undocumented variants | Low automation rate in production | Quantify each variant by volume |
| No sign-off | Endless scope changes | Require formal owner approval |
| Outdated screenshots | Selectors fail after an upgrade | Record application versions and dates |
| Unmasked personal data | Privacy and compliance breach | Use test data or redact screens |
Teams should also treat the PDD as a living reference after go-live. When an application or rule changes, updating the PDD first keeps support staff, auditors and future developers aligned with what the robot actually does.
Put simply
A process definition document is a very detailed instruction manual for one task at work. It explains what starts the task, which programs are used, what is typed where and what to do when something goes wrong.
People can fill gaps with common sense, but a software robot cannot. The PDD therefore writes down every step and every decision, so that the robot can repeat the work exactly as a careful employee would.
In practice
A shared services center processes about 1,200 supplier invoices per week and wants to automate entry into its ERP system. A business analyst spends two days shadowing three accounts payable clerks, records 46 steps across the email client, a PDF viewer and the ERP, and identifies nine business rules, including a three-way match tolerance of 2 percent and a rule that invoices above 10,000 EUR need manager approval.
During the walkthrough, one clerk mentions that invoices from two foreign suppliers arrive with a different date format and are corrected manually. This variant, worth about 8 percent of volume, is added to the PDD with its own handling rule. After sign-off, developers build the robot in four weeks, and user acceptance testing passes on the first cycle because every test case traces back to a documented step or rule.