资产通常表示可在不同自动化项目中使用的共享变量或凭据。它们允许您存储特定信息,以便机器人轻松访问。
此外,还提供了更高级别的安全性,因为此处存储的所有凭据类型资产都使用 AES 256 算法进行加密。RPA Developer 可以在设计流程时调用这些凭据,但可以隐藏这些凭据的值。
“资产”页面用于创建新资产。它还会显示以前创建的所有资产,您可以编辑或删除这些资产。
The Get Asset and Get Credential activities used in Studio request information from Orchestrator about a specific asset, according to a provided AssetName. If the AssetName provided in Studio coincides with the name of an asset stored in the Orchestrator database, and the Robot has the required permissions, the asset information is retrieved and used by the Robot when executing the automation project. For more information, see the Managing Assets in UiPath Studio page.
资产类型
资产分为四种类型:
- 文本 - 仅存储字符串(不需要添加引号)
- Bool - 支持值 True 或 False
- 整数 - 仅存储整数
- 凭据 - 包含机器人执行特定流程所需的用户名和密码,例如 SAP 或 SalesForce 的登录详细信息。
资产加密
默认情况下,Orchestrator 数据库中的所有资产类型都已加密。
更新时,现有资产也会加密。
资产值
分配给资产的值可以具有以下任一种或两种值类型:
Global Value
除非为每个帐户分配了特定值,否则所有帐户都会收到资产值。
- 所有帐户都会收到资产值。

- 除 John Smith 外,所有客户都会收到全局值,他会收到仅为其客户定义的特定值。

每个帐户计算机的值
The value is received only by the specified account-machine pair. When specifying account-machine pairs, make sure they are valid i.e., the configured account-machine mappings in the tenant or folder do not exclude them, otherwise job execution is not possible on that pair, hence the asset does nothing.
重要
- 每个用户-计算机的资产只能在 Robots v20.10 或更高版本上使用。

每个帐户的价值
该值仅由指定帐户接收。 如果禁用“全局值”,则必须为每个帐户至少提供一个值。

注意
升级到 v2020.10 后, 新式文件夹中的现有资产将迁移到使用全局值而非每个帐户值的资产。
12 个月前更新