# Resources

On the "Resources" screen, the tables "Resource Group" and "Resources" are presented with a list of objects available to all Robots, Robot Groups, or a specific Robot:

Here you can create Resources that will be used by Robots.

A Robot or Robots that have access to a Resource can request or set the value of the corresponding Resource through the appropriate blocks or via the API. Supported Resource types:

* Credentials (login and password);
* Text (text field);
* Calendar (working/non-working days).

Passwords are stored in the database in an encrypted form (AES256 encryption algorithm is used).

Resources of the Orchestrator can be accessed from the Robot, allowing for the retrieval and setting of global variable values, as well as retrieving or setting credentials.

From the Robot side, Resources can be utilized using blocks from the Orchestrator palette in Sherpa Designer.

## **Creating a New Resource**

<table data-header-hidden><thead><tr><th width="49"></th><th></th></tr></thead><tbody><tr><td><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdZuzXx17S1UhGTpJxoFHpJzHUmVxBjpcPlduBDYPf5uKF5CUr6UkRggR8TWe5aUD4ERgStZMsGh7J3o1HxAXEFXKSSHaKq7JfQx4EmCjdjQjj8HbpwayGq6N8ZTV1UmCm8UbO7vQ?key=6sbXsIGaTS3XX9nMXq1GDfiN" alt="" data-size="line"></td><td>Before creating a Resource in the "Resources" table, you need to select the Resource Group in which it will be created by setting the flag in the "Resource Groups" table.</td></tr></tbody></table>

### **Credentials**

Credentials include a login and password. The password will be stored in the Orchestrator's database in an encrypted form, and the password will also be transmitted in an encrypted form (AES 256 encryption type). Here you can set the password expiration date by specifying the expiration date (after which the password must be changed). Records with expired passwords will be highlighted in color.

To create a new Resource of type Credentials in the "Resources" table, you need to click the "Create" button, check the "Credentials" flag in the opened form (if it is not checked, it is usually checked by default), and fill in the other fields of the form:

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-70d38b8fbeb4f958ca37717914a53405d87e826b%2F2025-04-18_18-48-32.png?alt=media" alt=""><figcaption></figcaption></figure>

<table data-header-hidden><thead><tr><th width="52"></th><th width="163"></th><th width="293"></th></tr></thead><tbody><tr><td><strong>No.</strong></td><td><strong>Interface Element</strong></td><td><strong>Description</strong></td></tr><tr><td>1.</td><td>text field "Name"</td><td>Name of the Resource. This field is mandatory.</td></tr><tr><td>2.</td><td>text field "Description"</td><td>Description of the Resource.</td></tr><tr><td>3.</td><td>text field "Access Folder"</td><td>Access folder for the created Resource.</td></tr><tr><td>4.</td><td>Type and content of the Resource: Credentials</td><td></td></tr><tr><td>4.1.</td><td>text field "Login"</td><td>Login</td></tr><tr><td>4.2.</td><td>text field "Password"</td><td>Password</td></tr><tr><td>4.3.</td><td>text field "Password Expiration Date"</td><td>Password expiration date. The expiration date must be specified in the format DD.MM.YYYY.</td></tr><tr><td>5.</td><td>field "Resource Available"</td><td><p>Allows assigning a Robot or Robot Group for which the created Resource will be available:</p><ul><li>All Robots;</li><li>Only a specific Robot;</li><li>Only a specific Robot Group.</li></ul></td></tr></tbody></table>

### **Access to "Credentials" Resources on the Designer Side**

* To access "Credentials" Resources on the Designer side, the "Get Credentials" block is used from the Orchestrator palette.
* The "Set Credentials" block is used to edit credentials.

This functionality is available for Robots of any type, both Attended and Unattended.

### **Text**

The "Text" Resource represents any arbitrary string. It allows storing text, numbers, and other types of Resources. The character limit for this type of Resource is 10,000 characters.

To create a new Resource of type "Text" in the "Resources" table, you need to click the "Create" button, check the "Text" flag in the opened form, and fill in the other fields of the form:

<table data-header-hidden><thead><tr><th width="54"></th><th width="184"></th><th width="294"></th></tr></thead><tbody><tr><td><strong>No.</strong></td><td><strong>Interface Element</strong></td><td><strong>Description</strong></td></tr><tr><td>1.</td><td>text field "Name"</td><td>Name of the Resource. This field is mandatory.</td></tr><tr><td>2.</td><td>text field "Description"</td><td>Description of the Resource.</td></tr><tr><td>3.</td><td>text field "Access Folder"</td><td>Access folder for the created Resource.</td></tr><tr><td>4.</td><td>Type and content of the Resource: Text</td><td></td></tr><tr><td>4.1.</td><td>text field "Text"</td><td>Any necessary text in arbitrary form.</td></tr><tr><td>5.</td><td>field "Resource Available"</td><td><p>Allows assigning a Robot or Robot Group for which the created Resource will be available:</p><ul><li>All Robots;</li><li>Only a specific Robot;</li><li>Only a specific Robot Group.</li></ul></td></tr></tbody></table>

### **Access to "Text" Resources on the Designer Side**

* To access "Text" Resources on the Designer side, the "Get Value" and "Set Value" blocks are used from the Orchestrator palette. You need to copy the GUID of the Resource available when editing the previously created Resource. Then, in the Designer, paste the GUID of the Resource into the "GUID/Resource Name" field on the properties panel.

After executing the selected block, the value specified in the Orchestrator in the "Text" field will be passed to the "Result" variable on the Designer side.

### **Calendar**

The Resource contains information about the number of working, non-working, and holiday days. They are used in several places:

* in Trigger settings (for example, you can specify that the Robot should not run on weekends);
* in the date and time palette in Designer blocks (for example, to count working days, etc.);
* in the "Get Calendar" block of the Designer.

The "Calendar" Resource allows configuring the Robot to run only on working days, excluding weekends and holidays.

To create a new Resource of type "Calendar" in the "Resources" table, you need to click the "Create" button, check the "Calendar" flag in the opened form, and fill in the other fields of the form:

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-3dee8d6670d6fa352c9cc966393c625b099b8c2f%2F2025-04-18_19-11-31.png?alt=media" alt=""><figcaption></figcaption></figure>

<table data-header-hidden><thead><tr><th width="52"></th><th width="180"></th><th width="277"></th></tr></thead><tbody><tr><td><strong>No.</strong></td><td><strong>Interface Element</strong></td><td><strong>Description</strong></td></tr><tr><td>1.</td><td>text field "Name"</td><td>Name of the Resource. This field is mandatory.</td></tr><tr><td>2.</td><td>text field "Description"</td><td>Description of the Resource.</td></tr><tr><td>3.</td><td>text field "Access Folder"</td><td>Access folder for the created Resource.</td></tr><tr><td>4.</td><td>Type and content of the Resource: Calendar</td><td></td></tr><tr><td>4.1.</td><td>button "Edit Calendar..."</td><td>Allows editing the calendar. When the button is clicked, a calendar for the month opens, where you can select the necessary dates.</td></tr><tr><td>4.2.</td><td>button "Export Calendar..."</td><td>Allows exporting the calendar to a .json file.</td></tr><tr><td>4.3.</td><td>button "Import Calendar..."</td><td>Allows importing the calendar from a .json file.</td></tr><tr><td>5.</td><td>area "Resource Available"</td><td><p>Allows assigning a Robot or Robot Group for which the created Resource will be available:</p><ul><li>All Robots;</li><li>Only a specific Robot;</li><li>Only a specific Robot Group.</li></ul></td></tr></tbody></table>

### **Access to "Calendar" Resources on the Designer Side**

The "Calendar" Resource allows configuring the Robot to run only on working days, excluding weekends and holidays.

To access "Calendar" resources on the Designer side, the "Get Calendar" block is used from the Orchestrator palette:

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

It is required to enter the GUID/Name of the Calendar that needs to be retrieved:

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-6631a4d42be9e71fa5f5e44974908691ea468aa8%2Fimage%20(187).png?alt=media" alt=""><figcaption></figcaption></figure>

There are also blocks in the "Date and Time" palette that can use the Calendar obtained from the Orchestrator for various checks and calculations:

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-399deea83b71948b6af0218b888d683725275db9%2F2025-04-19_20-00-45.png?alt=media" alt=""><figcaption></figcaption></figure>

* **Count Working Days** – counts the number of working days between two specified dates.
* **Next Working Day** – returns the next working day starting from the specified date.
* **Working Day** – checks the specified date for a working day.
* **Non-Working Day** – checks the specified date for a non-working day.
* **Get Working Days** – retrieves working days between two specified dates.
* **Get Non-Working Days** – retrieves non-working days between two specified dates.

### **Resource Available**

For Resources, you can set the scope. It can be configured in the "Resource Available:" field:

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-6e0f9781800b4c0a4a2acb55b4ff3f37ab88bae6%2Fimage%20(189).png?alt=media" alt=""><figcaption></figcaption></figure>

* **All Robots** – Resource is available for all Robots in the Orchestrator;
* **Only a specific Robot** – Resource is available for the Robot selected from the dropdown list of available Robots;
* **Only a specific Robot Group** – Resource is available for Robots selected from the dropdown list of Robot Groups.

## **Editing a Previously Created Resource**

To view and edit a previously created Resource, you need to select it from the list and click the icon ![](https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-df021afa0347e2514009c611ba3e9932cf4b1d6e%2F2025-04-16_17-59-00.png?alt=media). After that, a form with the parameters of the selected Resource will open, where you can make the necessary changes. In addition to the fields filled in when creating the Resource, the form will show the GUID (unique identifier assigned to the Resource after its creation):

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-974586f3635f807bbc8d526cc104e77c57fd64e2%2Fimage%20(190).png?alt=media" alt=""><figcaption></figcaption></figure>

This field cannot be edited.

## **Creating a New Resource Group**

To create a new Resource Group, you need to click the "Create" button above the "Resource Groups" table and fill in the opened form: specify the name of the Resource Group (mandatory), description of the Resource Group, and Access Folder of the Resource Group. To save the created Resource Group, after filling in the form, you need to click the "OK" button. The Resource Group will be created.

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-5f96cd0cd89b6165e670c3fc7bd2b0889edc95c4%2Fimage%20(191).png?alt=media" alt=""><figcaption></figcaption></figure>

## **Editing a Previously Created Resource Group**

To view and edit the properties of a specific Resource Group, you need to select it from the list and click the icon ![](https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-c896ddd3b4a74e8561a716a7ef28ca5c7164505d%2F2025-04-17_22-35-51.png?alt=media). After that, a form with the settings of the selected Resource Group will open, where you can make the necessary changes:

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-322882a0773ae9513a2bd61d2802c27a97017d59%2Fimage%20(192).png?alt=media" alt=""><figcaption></figcaption></figure>

In addition to the fields filled in when creating the Resource Group, the form will show the GUID (unique identifier assigned to the Resource Group after its creation). This field cannot be edited.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sherparpa.ru/en/sherpa-rpa/sherpa-orchestrator/rabota-v-sherpa-orchestrator/ekrany/resursy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
