Subscribe

UiPath Activities

The UiPath Activities Guide

Get Asset / Get Orchestrator Asset

UiPath.Core.Activities.GetRobotAsset

In the Studio profile, this activity is named Get Asset.

Description

Gets a specified Orchestrator asset by using a provided AssetName. If the asset is not global, it must be assigned to the local robot in order to be retrieved. The activity uses the same authentication context as the Robot under which it runs. For more information about global assets, you can access About Assets.

Properties

Common

  • DisplayName - The display name of the activity.
  • Timeout (milliseconds) - Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds (30 seconds).

Input

  • Asset name - The name of the asset to be retrieved.

Misc

  • Orchestrator Folder Path - The path of the folder where the asset is located and must be retrieved from, if different from the folder where the process is running. This field only supports string values, with / as the separator to indicate subfolders. For example "Finance/Accounts Payable".

    Note:

    The FolderPath parameter does not work for processes executed by robots in classic folders. Only robots in modern folders have the ability to pass data outside of their folder.

    Relative folder paths are supported in an X-UIPATH-FolderPath-Encoded header, as follows:
    Path starting with / - starts from the root folder of the tree the ambient folder is part of.
    Path starting with . - starts from the ambient folder.
    Path starting with .. - starts one level up in the hierarchy of the ambient folder for each .. in the path (e.g. ../ for one level up, ../../ for two levels up in the hierarchy).

    Note that trailing slashes are not accepted.

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Output

  • Value - The retrieved asset.

UiPath.Core.Activities.GetRobotAsset

In the StudioX profile, this activity is named Get Orchestrator Asset.

Description

Retrieves the value of a specified asset from the connected Orchestrator. If the asset is not global, it must be assigned to the local robot in order to be retrieved. The activity uses the same authentication context as the Robot under which it runs. For more information about global assets, you can access About Assets.

Configuring the Activity

In the Body of the Activity

  • Asset name - Click Plus plus button on the right side of the field, and then select Text to enter the name of the asset to get in the Text builder. Alternatively, you can use one of the other options in the menu to indicate the asset name:
    • Data from the Project Notebook, a parent Excel file or Outlook account. For example, select a cell in an Excel file to use the value from that cell.
    • Use Saved Value - Select a value that you previously saved for later use in the project.
    • Ask when run - Prompt for the asset name when the project is executed.
    • Paste from clipboard - Paste a value that you previously copied to the clipboard in the project.
    • Open in Advanced Editor - Enter a VB expression.
  • Save for later as - Click Plus plus button on the right side of the field, and then select Save for Later Use to save the asset value for later use in the automation. Alternatively, you can use one of the other options in the menu to indicate where to save the asset value:
    • Select an Excel file or the Project Notebook and then select a cell where to save the value.
    • Copy to clipboard - Save the value to the clipboard.
    • Open in Advanced Editor - Enter a VB expression.

In the Properties Panel

Common

  • DisplayName - The name displayed for the activity in the Designer panel.
  • Timeout (milliseconds) - Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds (30 seconds).

Input

Misc

  • Orchestrator folder path - The path of the folder where the asset is located and must be retrieved from, if different from the folder where the process is running. This field only supports string values, with / as the separator to indicate subfolders. For example "Finance/Accounts Payable".

    Note:

    The FolderPath parameter does not work for processes executed by robots in classic folders. Only robots in modern folders have the ability to pass data outside of their folder.

    Relative folder paths are supported in an X-UIPATH-FolderPath-Encoded header, as follows:
    Path starting with / - starts from the root folder of the tree the ambient folder is part of.
    Path starting with . - starts from the ambient folder.
    Path starting with .. - starts one level up in the hierarchy of the ambient folder for each .. in the path (e.g. ../ for one level up, ../../ for two levels up in the hierarchy).

    Note that trailing slashes are not accepted.

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Output

Updated 26 days ago


Get Asset / Get Orchestrator Asset


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.