activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

工作流活动

上次更新日期 2025年10月10日

Set Secret

UiPath.Core.Activities.SetSecret

描述

Enables you to update the value of an indicated secret asset, which is already available in Orchestrator, be it a global or a Per Robot secret asset. Please note that to execute this activity, the Robot role needs to have Edit permissions on assets. When the UiPath.Core.Activities.SetSecret is triggered, the authentication context of the Robot under which it runs is being used.

For more information about Global and Per Robot assets, see steps 5 and 6 from this page.

项目兼容性

Windows | 跨平台

Windows、跨平台配置

  • Orchestrator folder path - The path of the folder where the secret asset is located, 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".
  • Secret asset Name - The name of the secret asset to be updated. Selecting Manage assets redirects you to the Assets page of the connected Orchestrator instance.
  • Secret - The new value you want the secret asset to have. This property cannot be empty.

1对于在 Studio Web 中创建的作为解决方案一部分的跨平台项目, “Orchestrator 文件夹路径”字段不可用。

2对于在 Studio Web 中创建的作为解决方案一部分的跨平台项目, “名称”字段提供的选项可用于在设计时定义新的Orchestrator 资源(如队列、资产或存储桶)或“打开 Orchestrator进行资源管理”。

其他选项

其他

  • “超时(以毫秒为单位)”- 指定最长等待时间(以毫秒为单位),如果超出该时间后活动并未运行,系统便会抛出错误。默认值为 30000 毫秒(30 秒)。
  • “出错时继续”- 指定在活动抛出错误时是否应继续自动化操作。该字段仅支持“布尔值”(True 和 False)。默认值为 False。因此,如果未配置该字段且活动引发错误,系统将停止执行项目。如果该值设为“True”,则无论出现何种错误,系统都将继续执行项目。
  • 描述
  • 项目兼容性
  • Windows、跨平台配置

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo
信任与安全
© 2005-2025 UiPath。保留所有权利。