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

传统“集成”活动

上次更新日期 2026年5月20日

执行方法

UiPath.Box.Activities.Activities.BoxExecuteMethod

“执行方法”活动使用Box API调用特定的 Box API 方法。

After executing the function, the activity outputs action specific field values (if applicable) and the status of the request (success/failure information) in a ResponseStatus object (ResponseStatus) that you can use in subsequent activities (e.g., conditional logic).

重要提示:

从 Box - 传统版本 1.3.3 开始我们已切换到新的 Box SDK,以支持最新的 Box 密码套件。这导致“执行方法”活动出现问题,该版本已不再支持该活动。如要使用此活动,请使用较旧版本 (v1.2.2) 或较新版本 (v1.3.4)。

工作方式

以下步骤是活动从设计时(即活动依赖项和输入/输出属性)到运行时如何工作的示例。

  1. 完成设置步骤。
  2. “Box 作用域”活动添加到项目中。
  3. Add the Execute Method activity inside the Box Scope activity.
  4. Click the Configure button inside the Execute Method activity (this opens the Object Wizard).
  5. Select the Method you want to insert and enter values for the fields returned in the Object Wizard.
  6. “输出”属性创建并输入ResponseStatus变量。

在活动正文中

To enter your Execute Function property values, you must use the Object Wizard by clicking the Configure button.

属性

常见

  • ContinueOnError - Specifies if you want the activity to continue running when an error is thrown. This field supports only Boolean values.
  • “显示名称”- 活动的显示名称。此字段仅支持 StringsString 变量。

其他

  • “私有”- 选中后将不再以“Verbose”级别记录变量和参数的值。

输出

  • ResponseStatus - The status of the request (success/failure information). This field supports only ResponseStatus variables (UiPath.BAF.Models.ResponseStatus). The ResponseStatus object includes three properties that you can use in other activities.
    • Success - Boolean - Specifies whether the API request was successful.
    • ErrorCode - String - The response error if the API request is unsuccessful (Success=False).
    • Message - String - The error message.
  • 工作方式
  • 在活动正文中
  • 属性
  • 常见
  • 其他
  • 输出

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新