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

传统“集成”活动

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

执行函数

UiPath.SuccessFactors.Activities.SuccessFactorsExecuteFunctionActivity

“执行函数”活动使用SAP SuccessFactors OData 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. “SuccessFactors 作用域”活动添加到项目中。
  3. “SuccessFactors 作用域”活动中添加“执行函数”活动。
  4. Click the Configure button inside the Execute Action activity (this opens the Object Wizard).
  5. Select the Action you want to insert and enter values for the fields returned in the Object Wizard.
  6. 输出属性以及方向值为输出的任何字段创建并输入ResponseStatus变量。
    • 系统将在适当的SAP SuccessFactors OData API操作请求中发送您的输入属性值。
    • 此操作会将 ResponseStatus 和任何其他适用的字段值返回到您的输出属性变量。

配置

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

当您使用“对象向导”选择“函数”时,系统将显示所选操作的必填“输入”/“输出”属性字段。与此包中的其他活动不同,您无法为函数对象添加或删除输入/输出属性字段。

有关每个操作所需字段的完整列表,请参阅SAP SuccessFactors OData API文档中的相关函数。

属性

常见

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

其他

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

输出

  • ResponseStatus - The status of the request (success/failure information). Enter a ResponseStatus variable (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 论坛

保持更新