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

Marketplace 用户指南

开始作业 - 特定

在查看示例之前,建议您先阅读如何启动作业教程。

The example below shows the job template experience when a user selects Specific for their job Strategy and adds Input Arguments to include in the request.

在此示例中,调用此模板的事件是创建新事件。 定义如何调用它是特定于应用程序的,因此不在本示例中讨论。

工作方式

以下步骤和图像示例说明了连接器从设计时(即用户输入)到运行时(即发送 HTTP 请求)的工作方式。

  1. Enter a Job Template Name.
    • 此名称在您的应用程序中使用,如果您想根据应用程序中发生的事件启动不同的作业,该名称可以充当唯一标识符。
  2. Enter the Process Name that you want to start.
    • 输入流程名称后,连接器会向“发布端点”发送请求,以检索所有流程“环境”(使用 语法)。
    • 系统处理响应并使用“环境名称”值填充“环境”下拉列表,此时“输入”按钮将变为必填项,因为“必填输入参数”(即"Input": "[{\"name\":\"IncidentId\",...\"required\":true,\"... )。
  3. Select the Environment that you want to start the job in.
  4. 选择要应用于作业的策略(即, “特定” )。
    • After selecting Specific, the UI presents a Robot drop-down list.
    • 为了填充机器人列表,系统会向环境端点发送请求,以检索先前选择的环境中可用的所有机器人 。
      • If you change the Environment selection, the Robot drop-down list is refreshed to show all robots in the newly selected environment.
  5. Click Inputs (this opens a window that includes selections/inputs that are specific to your application).
    • Select the application Object that you want to associate with this job template (i.e., Incident).
    • Select the type of event that will invoke this job template (i.e., New incident created).
    • Select the Field Data associated with the selected Object that you want to include as the job input argument values.
      • For example, selecting Incident Id indicates that you want the id value included as a job input argument.
      • Click Done (this closes the window).
  6. 单击“保存”
    • 在应用程序中新建事件时,连接器会向作业端点发送请求,以启动指定的流程。

  • 工作方式

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新