# Process Design Document (PDD)

The Process Design Document (PDD) is a template for documenting automated processes in Sherpa Designer.

The PDD is generated by clicking the "Document..." button in the "Project" menu.

The PDD template is automatically loaded by Sherpa Designer in the "PDD Template" field and is not modified during the document generation process.

The PDD is intended to describe current (AS IS) and target (TO BE) processes, parameters, and configurations.

* AS IS in the template contains a diagram and description of the current manual or partially automated process. It records actual steps, applications, employee roles, and bottlenecks for analysis before robotization.
* TO BE includes a diagram with the automated process (Sherpa Designer blocks, sequence of actions, number of steps) and reflects the final process with integrations from Sherpa Orchestrator and block statistics.
* Parameters include tables containing data intended for transfer between blocks and JSON schemas.
* Configurations include: credentials, flags, statistics on block performance and interactions, data from Sherpa Orchestrator, and logging.

### Template Structure

The template includes sections with tables and diagrams:

1. Purpose of the document — this section defines the goal of the PDD (standardized documentation of RPA processes in Sherpa RPA for knowledge transfer between developers, analysts, and stakeholders).
2. Document control — this section allows tracking every change in the document.

It contains information about:

2.1. Change history — a table with columns "Date", "Version", "Brief description of changes", "Author", "Role". It records the evolution of the document for auditing and control.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-8c8d42b15a18050a726988b4d6be2159b17d5105%2Funknown%20(10).png?alt=media" alt=""><figcaption></figcaption></figure>

2.2. Contacts — a table that contains a list of responsible persons: "Full Name", "Role", "Email", which simplifies communication regarding the project.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-555e7683382e836342d8a58cff1ecb1dafbdca8f%2Funknown%20(11).png?alt=media" alt=""><figcaption></figcaption></figure>

3. Glossary — a table for recording terms, their abbreviations, and definitions, which helps standardize terminology within the project.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-de8ede5774178e125302712aa212566efce4de19%2Funknown%20(12).png?alt=media" alt=""><figcaption></figcaption></figure>

4. General information about the process — a table with key metrics and characteristics for assessing the effectiveness of robotization.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-4078f599b95a0eda46eeef0b18f51a405a32ec74%2Funknown%20(13).png?alt=media" alt=""><figcaption></figcaption></figure>

5. Description of the AS IS process — a section that provides information about the current process before automation.

5.1. General information — a description of the current process with blocks and integrations.

5.2. High-level diagram of the AS IS process — an image (650px) displaying the diagram of the current process.

5.3. Description of the AS IS process steps — a table detailing the steps of the current process, user actions, and software used.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-ca95abbfe3caf6bb678de1fb1f3a14387d62706e%2Funknown%20(14).png?alt=media" alt=""><figcaption></figcaption></figure>

6. Description of the TO BE process — a section that provides information about the automated process.

6.1. General description of the robotic process — a description of the optimized process with blocks and integrations.

6.2. High-level diagram of the TO BE process — an image (650px) displaying the diagram of the automated process.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-3a4811130e8de799be0bf658b24481f513a95cf3%2Funknown%20(15).png?alt=media" alt=""><figcaption></figcaption></figure>

7. Environment and interacting IT systems — a table describing the systems involved in the process: system names, logins and passwords for robot access, as well as external services and corresponding Sherpa Designer blocks: service names, automation block names, palettes.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-014564eb6505ceb50e6c340cf0ab04c1aeab72ed%2Funknown%20(16).png?alt=media" alt=""><figcaption></figcaption></figure>

8. Input data — a table describing the parameters that are fed into the robot to perform tasks within the process, as well as the data storage location and an example of the file containing them.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-0cd471b5f01b33e57aa49fdd0dcb053e3a7b94ad%2Funknown%20(17).png?alt=media" alt=""><figcaption></figcaption></figure>

9. Output data (Robot performance reporting) — a table describing the parameters generated as a result of the robot's work and provided in the form of process reports, as well as the data storage location and an example of the file containing them.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-692a4dc2b37a3b6bbd8dc21aec69e9ac95c43d31%2Funknown%20(18).png?alt=media" alt=""><figcaption></figcaption></figure>

10. Project folder structure — a table describing the structure of the project folders.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-3010b94f0d39d2ff2f7664816ba17c33388f4719%2Funknown%20(19).png?alt=media" alt=""><figcaption></figcaption></figure>

11. Project diagrams — two tables, the first of which describes the key diagrams in the presented process, while the second describes each diagram individually, as well as the number of different blocks included in it.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-a64fac251483029168b1722f13937439eb6c01dc%2Funknown%20(20).png?alt=media" alt=""><figcaption></figcaption></figure>

12. Block statistics — a table containing data on the number of executions of Sherpa Designer blocks involved in this process.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-52361c55b1973e02308984ff04088480ba551c09%2Funknown%20(21).png?alt=media" alt=""><figcaption></figcaption></figure>

13. Dependent libraries — a table containing data on the libraries used by the robot during its operation, as well as their language and purpose.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-c62fca20fc3096ac02a59cf76900e17840de9212%2Funknown%20(22).png?alt=media" alt=""><figcaption></figcaption></figure>

13. Working with the Orchestrator — a section containing information about queue settings, assets, and schedules in Sherpa Orchestrator.

14.1. List of queues used in the project — a table describing the configuration of Sherpa Orchestrator queues for each robot block.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-8dcfb4003dba4003d8bb8707b52a16de3b981008%2Funknown%20(23).png?alt=media" alt=""><figcaption></figcaption></figure>

14.2. Assets. Orchestrator Variables (Assets) — a subsection that records the binding of Sherpa Designer blocks to Sherpa Orchestrator assets.

14.3. Credentials — a table describing the credentials used by the robot to interact with Sherpa Orchestrator.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-a95d7092d6013574bd26dcd1a30f72b51e9c3245%2Funknown%20(24).png?alt=media" alt=""><figcaption></figcaption></figure>

14.4. Other variables — a table describing the variables used by the robot in the process (when working with Sherpa Orchestrator).

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-5af89f52b7feac1fd92ac8cfb7a01d0e8a57d98a%2Funknown%20(25).png?alt=media" alt=""><figcaption></figcaption></figure>

15. Logging — a section that documents all logging points of the Sherpa RPA robot for monitoring, debugging, and auditing.

15.1. NLog logging — configuration nlog.config.xml, containing log paths. It defines rotation and levels (Info, Error, Debug) for file logging.

15.2. Local logging points — a table describing blocks that, when the robot is run locally, collect data about diagrams and errors occurring in them.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-e951239c06ea0ac8a26b9ef6370d79a391660ed2%2Funknown%20(26).png?alt=media" alt=""><figcaption></figcaption></figure>

15.3. Logging points in the Orchestrator — a table describing blocks that, when logging in Sherpa Orchestrator, collect data about diagrams and errors occurring in them. It also includes screenshots and levels of outgoing messages.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-3cda19e7121aa5eba904e09b6856e4d3e4d3d0bd%2Funknown%20(27).png?alt=media" alt=""><figcaption></figcaption></figure>

16. Logins and passwords for systems — a table listing all logins and passwords needed to access the systems and services used in the robot's operation.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-773b5aef9624134aeebef264c218795125438ec3%2Funknown%20(28).png?alt=media" alt=""><figcaption></figcaption></figure>

17. Robot operation mode — a table describing schedules and settings for launching the robot in Sherpa Orchestrator.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-75359f18384ab575e2a5c2fd4b7bfbdc41c46e21%2Funknown%20(29).png?alt=media" alt=""><figcaption></figcaption></figure>

18. Errors during robot operation — this section provides descriptions of errors that are handled by the robot or are system failures, which helps understand the course of action during various incidents.

18.1. Errors handled by robots (embedded in process logic) — a table describing user behavior during failures embedded in the process logic.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-6f76b73483c6ac524e7c97159f03fb92adf48d87%2Funknown%20(30).png?alt=media" alt=""><figcaption></figcaption></figure>

18.2. System failures and other errors — a table describing user behavior during system failures.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-2d061942f5c368cd12b533bfca5a2057d5af8e85%2Funknown%20(31).png?alt=media" alt=""><figcaption></figcaption></figure>

### PDD Generation

Detailed information on document generation is available at the link:

<https://docs.sherparpa.ru/sherpa-rpa/sherpa-designer/rabota-v-sherpa-designer/osnovnoe-menyu/panel-instrumenty/menyu-instrumenty#dokumentirovat>
