订阅

UiPath 活动

UiPath 活动指南

Get Asset / Get Orchestrator Asset

UiPath.Core.Activities.GetRobotAsset

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

描述

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.

属性

Common

  • DisplayName - The display name of the activity.
  • “超时(毫秒)”- 指定最长等待时间(以毫秒为单位),如果超出该时间后活动并未运行,系统便会抛出错误。默认值为 30000 毫秒(30 秒)。

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).

    请注意,不应包含尾随斜杠。

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

Output

  • “值”- 检索到的资产。

UiPath.Core.Activities.GetRobotAsset

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

描述

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.

配置活动

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.
  • “超时(毫秒)”- 指定最长等待时间(以毫秒为单位),如果超出该时间后活动并未运行,系统便会抛出错误。默认值为 30000 毫秒(30 秒)。

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).

    请注意,不应包含尾随斜杠。

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

Output

6个月前更新


Get Asset / Get Orchestrator Asset


建议的编辑仅限用于 API 参考页面

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