Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

For example, you can create a resource in the repository that contains the mail password (it is periodically changed, so you cannot specify it in the robot at once), and add resources to the resource queue that contain the numbers of requests to be checked by the robot. There are many requests, so they will be processed by several robots: due to statuses and locks, robots will not repeatedly process the same requests, and checked requests will be marked as processed.

The Resource Store Storage section refers to the Orchestrator module. This module is displayed on the interface if the Orchestrator Administrator role is available to the user in the current tenant. If this role is not available, the entire Orchestrator module (along with the Resource Store Storage section) will be hidden on the interface.

The interface of the Resource Store Storage page is shown below:

When any error occurs (on the back or front end) that is not specified separately in the specification (when navigating to a section, tab, opening windows, clicking buttons), a notification is displayed:

...

Description of the interface elements of the Resource Store Storage page

The description of the interface elements of the Resource Store Storage page is shown in the table below.

Element name

Note

Search

field (1)

  • Search is performed by resource name only
  • Case is not taken into account
  • Part of name search available: the entered text can be in any part of the resource name

Create resource (2)

If you click on it, the resource card opens in the creation mode.

Read more here: Create resource

Якорь
Столбцы
Столбцы
Columns (3)

  • Filter to customize the columns to be displayed in the resource table
  • The available values in the dropdown list are the names of all columns in the table
  • Column that cannot be disabled in the list is Resource

The Columns table is displayed if there is a Resource table.

In the dropdown list there is a button Apply, which applies everything that is selected. If you click on the button, the selection is confirmed, the list is closed, and the columns appear/hide in the table. If you click sideways, the changes will not be applied.

The Cancel button does not apply the current changes. The table will be displayed in the previously applied variant.

Resource table (4)

Read more here: Resource table



Якорь
Таблица ресурсов
Таблица ресурсов
Description of the columns and buttons of the Resource Table of the Resource

...

Storage page

Element name

Template/example

Description

Resource (6)

Example:

Email address

Name of the resource.

This is a link to the resource card.

Read more here: Resource card.

The card will not open if:

  • Resource not found in the database. A warning appears:

    "Error while working with resource

    Resource not found, refresh the page"

  • The resource is not found or is not available to the user in the current tenant. A warning appears:
    "Working with the resource is prohibited
    Insufficient permissions to work with the resource Resource name
    "
  • Sorting by name is possible
Data type (7)

Example:

String

The data type of the resource. One of the following values is possible:

  • Boolean
  • Collection
  • Table
  • Date-time
  • Dictionary
  • Folder path
  • File path
  • Image
  • Number
  • Password
  • String

Sorting by resource data type name is possible

Value (8)

The value template depends on the data type of the resource. Details of all templates are listed below.

Resource value

Якорь
Удалить
Удалить
Delete (9)

-

When clicked, if

  • The resource is not found in the database, a warning appears:

    "Error while working with resource

    Resource not found, refresh the page"

  • The resource is not found or is not available to the user in the current tenant. A warning appears:
    "Working with the resource is prohibited
    Insufficient permissions to work with the resource Resource name"
  • If the checks are successful, a window appears:
    • The text in the window: “Are you sure you want to delete the resource Resource name?”

    • Buttons in the window: Delete and Cancel.

    • When you click on Cancel, the window closes, the resource is not deleted.

    • When you click on Delete, the window closes, the resource is deleted, and a notification appears:
      "The resource Resource name has been successfully deleted"

...

Store

Interface element name

Available/default values

Description

Back-

Clicking closes the Resource Creation page and returns to the Resource

Storage page.  The resource will not be created

Resource name -

Resource name

Example:

Password for 1C

This field cannot be empty.

In create/edit/modify mode, a cross-shaped button appears in the field to clear text from the field. 


Data type 

Available values:

  • String
  • Number
  • Date-time
  • Boolean
  • Password
  • File path
  • Folder path
  • Image
  • Collection
  • Dictionary
  • Table
     

Default value:

  • String

Data type of the resource to be created

Only one value is available in the list. The selected value affects the appearance of the Value field.

The data type field of the resource to be created cannot be edited/modified by an existing resource in the resource card editing mode 

ValueThe presence of a default value depends on the selected data type

The appearance of the field and the option to customize its value depend on the selected data type. See Value options depending on data type for details

Since the String type is selected by default in the Data type field when opening the creation page, the Value field looks like an editable text field by default.

Create - in the resource creation mode-

When you click, the resource is not created and the page is not closed if:

  • The current tenant already has a resource with the same name, and a warning appears:

    "Error when creating a resource

    A resource with this name already exists"

  • Mandatory fields are not filled in. They are highlighted in red and the phrase “This field cannot be empty” appears below them, a warning appears:
    "Error when creating a resource
    Not all fields are filled in
    "
  • When filling the dictionary added keys with the same names, a warning appears:

    "Error when creating a resource

    There are keys with the same name in the dictionary"

    The key must be unique only within the dictionary in which it is specified, not among all dictionaries added to the resource. For example, the resource itself is a dictionary. One of the dictionary values is also specified with the type Dictionary. This results in a dictionary containing another dictionary. They are considered different dictionaries, i.e. one dictionary is not a continuation of the other. Therefore, the uniqueness of keys is checked in each dictionary separately.

  • If you specified columns with the same name when filling the table, a warning message appears:

    "Error when creating a resource

    A table has columns with the same name"

If all the checks are successful, a new resource is created, you are returned to the Resource Store Storage section page, and a notification appears:

"The resource Resource name has been successfully created"

Cancel - in the resource creation mode-

When clicked, a window opens with the message: “Are you sure you want to cancel the resource creation?”.

If you click on the No button, the window closes, and the current page is left

If you click on the Yes button, the window closes, you are returned to the Resource Store Storage page and the resource is not created.

 
Якорь
Просмотр раздела "Хранилище ресурсов"
Просмотр раздела "Хранилище ресурсов"
View Resource

...

Storage section

In order to view the Resource Store Storage section:

  1. The user must log in to the system: Log in.

  2. The System can be accessed with the Orchestrator Administrator role. If the Orchestrator Administrator role is not available to the user, the Orchestrator module is not displayed. If this role is available, the next step is performed.
  3. The user goes to the Orchestrator module - Resource Store Storage section.

  4. The following functionalities are available on the page that opens: 
    • View a sortable and searchable list of resources that are available to the user in the current tenant

    • Opening a resource card by clicking on the resource name (5)
    • Creating a new resource - eng Создание ресурса
    • Deleting resources - Delete resource
  5. The user in the Resource Store Storage section can view a list of resources.

  6. By searching by resource name, you can narrow down the list of output table entries - Columns.

  7. You can use sorting operations to bring those records of interest to the top of the table.

  8. If the resource list does not fit on a single page, the system spreads the records over multiple pages based on the selected maximum number of output records - n: 1st page. - first n records, 2nd page. - second n records, etc. On each page, the system displays records that match the sorting conditions and the word(s) in the search bar.

...

In order to delete a resource, the following actions are implemented:

  1. The Resource Store Storage section is being previewed.
  2. The user selects a resource in the table and clicks the Delete button in its row.
  3. The system checks if the resource is in the database:
    • If the resource is not found, the system displays a warning message:
      "Error while working with resource
      Resource not found, refresh the page
      "

      The scenario ends at this step.
    • If the resource is found, the next step is performed.
  4. The system checks if the resource is available to the user in the current tenant:
    • If unavailable, the system displays a warning message:
      "Working with the resource is prohibited
      Insufficient rights to work with the resource "Resource name
      ""

      The scenario ends at this step.
    • If available, the next step is performed.
  5. The system opens a window to confirm the deletion:
    "Are you sure you want to delete the resource "Resource name"?"
  6. The user clicks the Delete button.

  7. The system performs similar checks as in steps 3-4.

  8. The system closes the confirmation window.

  9. The system deletes the resource.

  10. The system updates the list of resources on the partition page.

  11. The system displays a notification:
    "The resource "Resource Name" has been successfully deleted"