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

传统“集成”活动

调用方法

“调用方法”活动使用 Amazon Comprehend API调用特定的 Amazon Comprehend 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).

工作方式

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

  1. 完成设置步骤。
  2. “Amazon Comprehend 作用域”活动添加到您的项目中。
  3. Amazon Comprehend 作用域活动中添加调用方法活动。
  4. 单击调用方法活动中的配置按钮(这将打开对象向导)。
  5. 选择要使用的方法,并为对象向导中返回的字段输入值。
  6. “输出”属性创建并输入ResponseStatus变量。

在活动正文中

要输入“调用方法”属性值,您必须通过单击“配置”按钮使用对象向导

属性

常见

  • “显示名称” - 活动的显示名称。此字段仅支持字符串和String变量。

其他

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

输出

  • 响应状态- 请求的状态(成功/失败信息)。此字段仅支持ResponseStatus变量( UiPath.BAF.Models.ResponseStatus )。ResponseStatus对象包含您可以在其他活动中使用的三个属性。
    • 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 论坛

保持更新