Process definition document

Also known as: PDD

On this page 7

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.

SectionContentWhy it matters
Process overviewPurpose, trigger, owner, frequencyFrames scope and business value
Volumes and timingCases per day, peaks, service levelsSizes robot capacity and schedules
Applications listSystems, versions, access method, credentials ownerReveals technical constraints early
As-is process mapFlowchart of steps and decisionsShows the logic at a glance
Detailed stepsScreen-by-screen actions with screenshotsLets developers build without guessing
Business rulesConditions, thresholds, validationsDefines the decisions the robot makes
ExceptionsBusiness and system exceptions with handlingPrevents silent failures in production
Out of scopeVariants and steps that stay manualProtects the project from scope creep
Typical sections of a process definition document

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.

  1. Kick-off and scoping: agree on the trigger, the end point and the variants in scope.
  2. Shadowing sessions: watch the expert process real cases, ideally including exceptions.
  3. Recording and capture: use screen recordings or task mining data to confirm the actual path.
  4. Drafting: write steps, rules and exceptions in a consistent template.
  5. Walkthrough and correction: replay the draft with the expert and fix gaps.
  6. 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.

DocumentPrepared byMain questionAudience
Opportunity assessmentBusiness analyst or CoEIs the process worth automatingSponsors
Process definition documentBusiness analystWhat exactly happens todayBusiness and developers
Solution design documentSolution architectHow the robot will be builtDevelopers
Test plan and casesTesterHow success is verifiedTesters and business
Operations runbookDeveloper or support leadHow the robot is run and recoveredSupport team
Documents in a typical RPA delivery lifecycle

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 statementPrecise statementEffect on the robot
Check the invoice amountIf amount exceeds 10,000 EUR, route to approver queueClear branch logic
Open the customer recordSearch by customer ID in field Cust_No on screen CRM-02Stable selector target
Handle errors as usualOn login failure, retry twice, then raise system exceptionDefined recovery path
Use the latest reportDownload the file named with the previous business day dateDeterministic input choice
Examples of well-defined and poorly defined PDD content

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.

MistakeConsequenceRemedy
Missing exceptionsRobot stops or produces wrong outputShadow cases with errors, not only clean ones
Undocumented variantsLow automation rate in productionQuantify each variant by volume
No sign-offEndless scope changesRequire formal owner approval
Outdated screenshotsSelectors fail after an upgradeRecord application versions and dates
Unmasked personal dataPrivacy and compliance breachUse test data or redact screens
Frequent PDD defects and remedies

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.