PAW Resource

Audience: Administrators who connect robot machines to Orchestrator and developers who use PAW Resource on their own computer Prerequisites: A resource defined in Orchestrator with this computer's name, Orchestrator's Resource Api address, an Orchestrator user account


Overview

PAW Resource is the desktop application that connects a Windows computer to Orchestrator as a resource. It works in two modes:

  • Production (robot) mode: Runs on a production robot machine with the robot user. It takes work from Orchestrator, starts it with PAW Robot, UiPath or Blue Prism, reports its state to the server and waits for the next work item when it finishes.

  • Developer mode: Opens for every other sign-in and takes no work. Developers use it to connect to the screens of production robots with Remote Access and to manage Local Data tables.

In both modes PAW Resource provides the extension services that robots and activities use (Orchestrator, Local Data, Excel, Mail, etc.): PAW Robot and UiPath/Blue Prism activities have these operations carried out by PAW Resource on the computer.

On this page you will learn:

  • Basic concepts

  • Sign-in: two-step sign-in, Microsoft Entra, Remember Me and Auto Login

  • Environments: creating, editing, moving to another computer and the machine key

  • The main page after sign-in, its buttons, cards and logs

  • What runs in the background and automatic updates

  • Closing the window, exiting and where settings are stored

Child pages: Local Data, Remote Access.


Basic Concepts

Concept

Description

Environment

A named connection configuration saved on this computer: Orchestrator's Resource Api address, the folders of the robot applications and the socket port range. You choose its name; all Windows users on the computer see the same environments.

Resource

The Resources record in Orchestrator. At sign-in it is matched with this computer's Windows computer name.

Machine Type

The Production or Development value in the resource record.

User type

Accounts used by robots are of type Api User; accounts people use in the web interface are of type UI User.

Machine key

The unique identity Windows gives this computer. It is written to the resource record at the first sign-in and binds the resource to this computer. PAW Resource also encrypts the information it stores on this computer with this key.


Sign-In

The sign-in screen has the Login card and, below it, the Environment Management card. The two buttons at the top right are on every page of the application:

Button

What it does

Language (TR / EN)

Shows the code of the language to switch to. Clicking it changes the interface language immediately and saves it; open PAW Robots are notified too. Türkçe and English are available; on first start the Windows language is used.

Theme (icon)

Cycles System → Light → Dark; the tooltip shows the current theme.

Sign-in steps

  1. Enter the User Name and select the environment in the Select Environment list.

  2. Click Next (or press Enter). PAW Resource connects to the environment's Resource Api address and gets the user's type. The user name and environment are locked in this step.

  3. Enter your password in the Password field that appears and click Sign In (or press Enter). To change the user name or environment, click Back.

Microsoft Entra users are not asked for a password; they sign in in the browser (below).

Item

Description

User Name

The Orchestrator user name. Leading and trailing spaces are removed.

Select Environment

The environment to connect to. The list shows the environments created on this computer; if there are none, create one first with Create Environment.

Password

Appears only after Next. If left empty, the warning "Field is required." appears.

Remember Me

After a successful sign-in, the user name, environment and session information are stored encrypted for this Windows user; the application fills in the fields the next time it opens. If you clear the box and sign in, the stored information is deleted.

Auto Login

Can be selected only when Remember Me is selected. When the application opens, it signs in with the stored session without asking for a password. It is turned off by Sign Out.

Next

Enabled when the user name and environment are filled in.

Sign In / Back

The buttons of the second step.

💡 Tip: If the user is an Api User (robot user), Remember Me and Auto Login are selected automatically after Next and Remember Me cannot be changed. This way PAW Resource on a robot machine signs in by itself every time it opens.

What happens after Sign In

A loading indicator appears and the following is done in order:

  1. The user name and password are verified in Orchestrator.

  2. The resource is found by this computer's Windows name and the machine key is checked. At the first sign-in, the computer's machine key is written to the resource record.

  3. The user's role is checked against the machine type: users with the Resource or Developer role can sign in to a Production machine, only users with the Developer role to a Development machine.

  4. PAW Resource and, if the resource uses PAW Robot, PAW Robot are updated (see Automatic Updates).

  5. A PAW Robot, UiPath or Blue Prism folder left empty in the environment is found and written to the environment.

  6. Two free ports are selected from the environment's socket port range: one for extension and activity calls (Resource Port), one for PAW Robot.

  7. The main page opens.

If a step fails, the first step of the sign-in screen is shown again. Short messages appear at the top of the page, longer ones in the Error window.

Possible messages

Message

Cause

"Unable to connect api, please check your configuration."

At Next, the environment's Resource Api Url could not be reached. Try the environment with Test Api Url.

"Could not reach the server. Check your network or DNS."

The server name could not be resolved.

"The server is under maintenance. Please try again shortly."

Orchestrator is being updated.

"Resource Api: Fail Message: …"

The user name or password could not be verified; the reason is in the server's message.

"Resource is not set."

There is no resource with this computer's name in Orchestrator. Find the computer's name with Get Machine Name.

"Machine Key is not valid. Check resource machine key."

The machine key in the resource record is not the same as this computer's (see Machine key).

"User is not authorized. Resource or Developer role users can login to production machine."

On a production machine, the user does not have the Resource or Developer role.

"User role is not authorized. Only developer role user can login to developer machine."

On a development machine, the user does not have the Developer role.

"Blue Prism Connection must be defined." / "Blue Prism DB Environment must be defined."

The resource uses Blue Prism, but no Blue Prism connection or database environment is defined for the company.

Signing in with Microsoft Entra

If the user is defined with Microsoft Entra, no password is asked after Next:

  1. The Microsoft sign-in page opens in the default browser. The default browser must be Chrome, Edge or Firefox; otherwise the message "Default browser not found" appears.

  2. Sign in with your Microsoft account. The browser shows a "Sign In Successful" page with the text "You can close the window".

  3. PAW Resource completes the rest of the sign-in by itself.

If the sign-in is not completed in the browser, the message "Sign in failed." appears; try again with Next.

Automatic sign-in at startup

If Auto Login is saved and the saved environment still exists, the application signs in with the stored session without asking for a password when it opens. If this fails, the sign-in screen opens with the user name and environment filled in and the error is shown. Automatic sign-in is tried only when the application opens; it is not tried when you return to the sign-in screen after Sign Out.


Environments

Environments are managed in the Environment Management card on the sign-in screen; you do not need to sign in.

Item

What it does

Update Environment (list)

Opens the Environment Detail page of the selected environment.

Create Environment

Asks for the New Name and opens an empty New Environment form. If the name is used by another environment: "{name} environment name already exists."

Import Environment

Adds a .prc file exported on another computer to this computer as a new environment (see Moving an environment to another computer).

The windows that ask for a name have one field: New Name (Save / Cancel). Environment names must be unique; because the name is used as a file name, characters that are invalid in file names cannot be typed.

Environment Detail

The environment's eight fields are shown read-only in the Configuration card. Ribbon buttons:

Button

What it does

New

Asks for the New Name and opens an empty New Environment form.

Edit

Opens this environment in the editing form. Changes are saved with Save in the form.

Rename

Changes the environment's name: "Rename completed." If the name is in use: "Environment already exists."

Delete

Deletes the environment after the confirmation "Are you sure you want to delete?" and returns to the sign-in screen.

Save As

Creates an environment with a new name and the same values; the page switches to the new environment.

Get Machine Key

Shows this computer's machine key; it can be copied with Copy to Clipboard.

Set Machine Key

Gives the computer a new machine key (see Machine key).

Get Machine Name

Shows this computer's Windows name; the resource in Orchestrator is matched with this name. It can be copied with Copy to Clipboard.

Test Api Url

Tries the Resource Api Url (and the Bp Api Url if filled in) without signing in and shows the server's version, e.g. "Resource Api: Success Version: …".

Test Api

Asks for a User Name and Password (Test / Cancel). It tries signing in with this account and reading this computer's resource record; if the resource uses Blue Prism, it also tries the Blue Prism database connection.

Export

Saves the environment to a .prc file. The file is encrypted independently of the computer; on another computer it is added with Import Environment.

Back returns to the sign-in screen. Results and errors are shown in the info bar below the ribbon.

New Environment form

Create Environment, New and Edit open the same form. Ribbon buttons:

Button

What it does

Rename

Changes the environment's name.

Set All Robot Application Paths

Finds the installation folders of PAW Robot, UiPath and Blue Prism and writes them to the fields. From the drop-down, only PAW Robot, UiPath or Blue Prism can be selected.

Save

Checks the fields, saves the environment and switches to Environment Detail.

Back leaves without saving after the confirmation "Are you sure? You will lose all changes". A folder can be selected with the folder icon next to the folder fields.

Field

Required

Description

Resource Api Url

Yes

Orchestrator's Resource Api address (e.g. http://server:7723/api/). Sign-in, state reporting, update and remote access calls go here. When saved, the address is completed with /api/.

Bp Api Url

If Blue Prism is used

Orchestrator's Bp Api address; completed the same way.

Blue Prism Folder Path

If Blue Prism is used

The folder where Blue Prism Automate is installed, e.g. C:\Program Files\Blue Prism Limited\Blue Prism Automate.

Blue Prism App Port

If Blue Prism is used

Automate's listener port; 8183 in a new environment. Must be between 1024 and 65535.

UiPath Folder Path

At least one of the three robot folders

The UiPath Studio or Robot folder, e.g. C:\Program Files\UiPath\Studio.

PAW Robot Path

At least one of the three robot folders

The folder where PAW Robot is installed, e.g. C:\Program Files\RPA WORK\PAW Robot.

Resource Socket Port Start / Resource Socket Port End

Yes

The port range on which PAW Resource listens for robot and activity calls; default 7720–7729. Must be between 1024 and 65535; the start cannot be greater than the end.

💡 Tip: The Blue Prism fields are used together: if one of Bp Api Url, Blue Prism Folder Path or Blue Prism App Port is filled in, the other two are required as well. If you do not use Blue Prism, leave all three empty.

Errors found when saving are listed one under the other in the info bar below the ribbon (in the Error window if long), e.g. "Resource Api Url required", "PAW Robot Folder Path or UiPath Folder Path or Blue Prism Folder Path required", "UiPath Folder Path does not exists".

Moving an environment to another computer

  1. On the environment's Environment Detail, save the .prc file with Export.

  2. On the target computer, select the file with Import Environment on the sign-in screen. If the file cannot be read, the message "Invalid configuration" appears.

  3. New Name is filled in with the name in the file; change it if needed and click Save. The environment is added to the lists.

Machine key

Get Machine Key shows this computer's machine key. The resource in Orchestrator stores this key at the first sign-in; from then on the resource can be used only from this computer. To move the resource to another computer, use Actions › Clear Machine Key in the resource's details on the Resources screen; the first sign-in on the new computer writes the key again.

⚠️ Warning: Set Machine Key does not ask for a value. It generates and shows a new random key; if you click Set Machine Key, it replaces the machine identity Windows keeps for this computer (MachineGuid) with this value, with administrator permission (UAC).

After the key has changed:

  • The resource no longer matches its record in Orchestrator. Until the resource's machine key is cleared in Orchestrator, sign-in is rejected with the error "Machine Key is not valid. Check resource machine key."

  • The sign-in information stored on this computer (Remember Me, Auto Login) and the Local Data database are encrypted with the old key and can no longer be read. To keep Local Data, back it up first with Export in the Local Data window.

  • Other software on Windows may also use the machine identity. Use this button only if the computer really needs a new identity.

If administrator permission is not granted, the message "The machine key could not be set because administrator permission was not granted." appears and the key does not change.


Main Page

The main page opens after sign-in. It is shown in one of two modes:

Mode

When

What is shown

Production (robot) mode

User type Api User and the resource's Machine Type Production

All cards, the Logs panel and the state buttons. PAW Resource takes work from Orchestrator.

Developer mode

Every other sign-in (UI User or a Development machine)

The Resource State card shows "Developer Mode"; only the cards in the first two rows are shown. The Remote Access panel and, if licensed, the Local Data button exist only in this mode. No work is taken.

The middle of the header shows the computer name and the environment ("COMPUTERNAME (environment)"); while opening it shows "Initializing".

PAW Resource Main Page (Developer Mode)

PAW Resource Main Page (Developer Mode)

Header buttons

Button

When visible

What it does

Language, theme

Always

As on the sign-in screen.

Link icon (tooltip "Create or Refresh The Blue Prism Connection Configuration")

In developer mode, if the resource uses Blue Prism

Creates the PAW connection in Blue Prism with the Blue Prism database information in Orchestrator: "Blue Prism PAW connection created." If the connection already exists: "PAW configuration already exist on Blue Prism." If permissions are insufficient: "PAW configuration must be created on Blue Prism. Please configure manually or allow application to run with Administrator rights."

Database icon (tooltip "Open Local Data Browser")

In developer mode, if the company's license includes the Local Data extension

Opens the Local Data window. The license is checked at sign-in; if the license changes, sign in again.

Set Idle

When Resource State is On Hold

Puts the resource back to Idle; the resource continues taking work.

Terminate

When Resource State is Running

Terminates the running work: the robot applications are closed and the work is terminated on the server.

Enable / Disable

In production mode

Enables or disables the resource and writes "Resource enabled." or "Resource disabled." to Logs. A disabled resource takes no work.

Sign Out (tooltip "Sign Out And Return To Login")

Always

Closes the session (see Sign Out).

Cards

Card

What it shows

Mode

User

The signed-in user

Both

Resource Port

The socket port selected for extension and activity calls

Both

Resource State

The resource's state (below)

Both

Resource Status

Enabled or Disabled

Both

Running Method

The extension method being called ("Group - Name"); "None" if there is none

Both

Running Time

Start time ("Started: …")

Both

Incoming / Outgoing Data

Number of bytes received and sent over the socket

Both

Application

The application of the running work: PAW Robot, UiPath or Blue Prism

Production

CPU / Memory

Processor and memory usage

Production

Process Name / Project Name

The process and project of the running work

Production

Work Terminate Count / Initialize Terminate Count

Number of work items terminated because the work time or initialization time was exceeded

Production

Disks

Free space on each drive ("{0} GB free of {1} GB"); the usage bar turns yellow at 70% and red at 90%

Production

Resource State values: Idle (waiting for work), Running, Terminating, On Hold, Restarting, Developer Mode; None before the state arrives.

Logs panel

Exists only in production mode and is closed by default. When opened, it shows the last 10 messages, newest at the top. Icons in the header:

  • Copy to Clipboard: copies the messages ("Copied to clipboard").

  • Pause log stream / Resume log stream: messages that arrive while paused are not added to the list.

The messages are not written to a permanent file.

Sign Out

Sign Out asks "Are you sure, you want to sign out?"; in production mode the line "All robot applications will be terminated." is also shown. If you answer Yes:

  • Remote connections and the Local Data window close; an open PAW Robot is closed with the message "You have been signed out of the resource application."

  • In production mode the robot applications are closed; if the resource is Running, it is set to Idle.

  • The session on the server is closed. In the stored sign-in information, Auto Login is turned off; the user name and environment are kept.

  • The sign-in screen is shown again.

Session ended by the server

In developer mode, PAW Resource checks the user and the resource every 5 minutes. If the user is not found or is no longer authorized, an open PAW Robot is closed, "Your session has ended." (or the server's authorization message) is shown and the sign-in screen opens. If Use PAW Robot has been turned off on the resource, an open PAW Robot is closed.


What Runs in the Background

Production mode

After sign-in, in order:

  1. Extension packages are copied to the package folders of the robot applications; administrator permission is asked if needed.

  2. If remote access is defined on the resource and the sign-in was made with Auto Login, the PAW Resource Remote Service Windows service is installed and started; without Auto Login the service is removed (see Remote Access).

  3. End-of-work and e-mail records that could not be sent to the server earlier are sent again.

  4. If Blue Prism is used, an open Automate is closed and restarted in listener mode, and the PAW connection is created in Blue Prism if needed. If UiPath or PAW Robot is used, an open UiRobot and PAW Robot are closed.

  5. If the resource was left Running on the server, it is set to Idle and the work loop starts.

If a step fails, the Error window appears and the sign-in screen opens.

The work loop:

  • The computer is prevented from going to sleep and the screen from turning off.

  • PAW Resource continuously reports its state, version and remote access state to the server.

  • In the Idle state it asks Orchestrator for work. When work arrives, it starts it with Blue Prism, UiPath or PAW Robot, depending on its application.

  • In the Running state it watches the process's initialization and work time thresholds: at the warning time it sends a warning to the server, at the termination time it closes the robots and increases the termination count. When the count reaches the process's disable count, the process is disabled on this resource.

  • When the robot finishes, the resource returns to Idle; if Windows is not locked, a screenshot is sent to the server.

  • If the server requests a restart, the resource is set to Restarting and the computer is restarted.

  • If the PAW Resource or PAW Robot version does not match the server's, no work is taken and an update is attempted.

Developer mode

There is no work loop. At sign-in, extension packages are copied, the version is checked, and the Local Data license and the list of resources available for remote access are loaded. After that, the user, the resource and updates are checked every 5 minutes.

Extension calls

In both modes PAW Resource listens on the Resource Port and on the port selected for PAW Robot. Activities have extension operations carried out by PAW Resource through these ports. Possible errors:

  • "Resource application is not running on this user or Blue Prism started with a different user.": the Windows user running the activity is different from the user running PAW Resource.

  • "Requested method is not found, please update resource application.": the operation the activity requests does not exist in this PAW Resource version.


Automatic Updates

PAW Resource and PAW Robot get their updates from Orchestrator's Resource Api; the packages are uploaded to Orchestrator with PAW Setup. The PAW Resource version must be the same as the version defined in Orchestrator.

When it is checked

At every sign-in (manual or automatic)

In production mode, when the server reports that the version does not match (while the resource is Idle or On Hold)

In developer mode, at sign-in and every 5 minutes

PAW Resource: The update is applied without asking. After the message "Resource version is not up-to-date. Version {0} will be downloaded and installed, and the application will restart." the application restarts; if Auto Login is on, it signs in again by itself, otherwise the sign-in screen opens.

PAW Robot (if the resource uses PAW Robot, after PAW Resource):

  • If it is not installed, it is downloaded and installed in C:\Program Files\RPA WORK\PAW Robot ("PAW Robot is not installed. Downloading and installing version {0}.") and the folder is written to the environment.

  • If it is outdated, it is updated ("PAW Robot version is not up-to-date. Downloading and installing version {0}."). PAW Robot is not restarted after the update.

  • In developer mode, if PAW Robot is open, the PAW Robot update window appears; OK closes PAW Robot and continues the update.

  • In developer mode, if Chrome or Edge is using PAW Robot's browser extension, Close Chrome and Edge is asked. Yes closes Chrome and Edge and continues the update; save any unsaved work in the browser first. If you answer No: "PAW Robot update was cancelled. Sign-in cannot continue."

  • In production mode the update is done without any questions.

If the update cannot be done, the sign-in is not completed; possible messages: "Resource could not be updated. Sign-in cannot continue.", "PAW Robot could not be updated. Sign-in cannot continue.", "PAW Robot setup file could not be downloaded.", "PAW Robot could not be installed." In production mode, if the version does not match, "Resource version {0} does not match the version set on the server. Work is skipped until they match." is written to Logs.


Closing the Window and Exiting the Application

  • The X in the title bar does not close the application: the window is hidden and PAW Resource keeps running in the notification area.

  • Clicking the notification area icon, or right-clicking it and selecting Show, opens the window again.

  • To exit the application, right-click the icon and select Exit. If you answer Yes to "Are you sure, you want to close application?" (with the line "All robot applications will be terminated." in production mode), Blue Prism, UiRobot and PAW Robot are closed in production mode; in every mode remote connections and the Local Data window close and the application closes.

  • If PAW Resource is opened a second time while it is running, the message "Application is already running" appears; reach the open application from the notification area icon.


Where Settings Are Stored

What

Where

Environments (one file per environment; shared by all Windows users on the computer)

C:\ProgramData\RPA WORK\PAW Resource\Configuration\<environment name>.json

Remember Me / Auto Login, language preference

Windows user environment variables, encrypted with the machine key

Theme

%AppData%\RPA WORK\PAW Resource\theme-preference.json

Local Data

%AppData%\RPA WORK\PAW Resource\Extension Local Data\paw.extension.localdata.db

End-of-work and e-mail records that could not be sent

The End Work and Send Mail folders under %AppData%\RPA WORK\PAW Resource\

Extension packages

C:\ProgramData\RPA WORK\PAW Robot\Packages and <UiPath folder>\Packages