UiPath Documentation
action-center
2020.10
false
Action Center
  • 发行说明
    • 2020.10
      • 2020.10.7
      • 2020.10.6
      • 2020.10.5
      • 2020.10.4
      • 2020.10.3
      • 2020.10.2
  • 入门指南
  • 安装和升级
  • Activities (活动)
  • 操作
  • 流程
    • 关于流程
    • 用户界面
    • 访问流程
    • 管理流程
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

管理流程

先决条件​

  • 您位于正确的 Orchestrator 文件夹上下文中。
  • 您有权查看和管理流程。

生成表单以向队列提供输入​

  1. 在 Orchestrator 中创建队列。
  2. Create a consumer automation project that processes items from the queue and passes data into third-party systems as imposed by the specific business scenario.
  3. 创建一个队列触发器,每当将新项目添加到该队列时,该触发器就会启动使用者流程。

对于拥有队列所在文件夹的相应访问权限的用户,队列将在 Action Center 网站中的“流程”页面上变为可用。这意味着您需要在 Orchestrator 中在文件夹级别为用户分配具有以下权限的角色:

  • View on Queues
  • View,Edit,Delete on Transactions

生成表单以向作业提供输入​

  1. 在自动化项目的主要 .xaml 文件中创建包含输入参数的工作流,并将其发布到 Orchestrator。
  2. Deploy a process from the above package, and provide default values for the input parameters if any.

对于拥有流程所在文件夹的相应访问权限的用户,流程将在 Action Center 网站中的“流程”页面上变为可用。这意味着您需要在文件夹级别为用户分配具有以下权限的角色:

  • View on Processes
  • View,Edit,Delete on Jobs

通过文件上传触发无人值守流程​

作为 RPA 开发者,您可以使用并入“创建表单任务”活动(UiPath.Persistence.Activities 活动包版本 1.1.8 及更高版本)中的表单设计器来构建无人值守流程,以接受来自业务用户的文件作为输入。流程的设计包含用于上传文件的特殊参数。一个参数可上传单个文件。您可以使用两种主要类型的参数来触发流程:

_storage 参数

  • 在 Studio 中的“参数”选项卡下,将 _storage 后缀添加到要求上传文件的参数的名称中,并将“方向”设置为“输入”,因为它是业务用户的输入。
  • In Queues, add the _storage suffix to the property name in the Queue schema.

存储桶参数

  • 在 Studio 中的“参数”选项卡下,添加参数(例如 BucketName),以指定将文件上传到的实际存储桶。

  • In Orchestrator, configure the storage bucket and set it as a value for the BucketName argument by navigating to the process' folder > Automations > Processes > Edit > Runtime arguments.

  • 在“队列”中,在队列架构中添加 BucketName 属性,并为 "default" 键输入存储桶的名称。

  • 要指定不同于当前工作流或队列的存储文件夹路径,请添加参数 BucketFolderPath,并为其提供默认值,方法与上述相同。

    ...
          "UserFile_storage": {
          "$id": "#/properties/UserFile_storage",
          "type": "string",
          "title": "Upload Document",
          "default": "FileName",
          "examples": [
            "User FileName"
          ]
        },
        "BucketName": {
          "$id": "#/properties/BucketName",
          "type": "string",
          "title": "BucketName",
          "default": "ActionsTest",
          "examples": [
            "User FileName"
          ]
        },
    ...
    ...
          "UserFile_storage": {
          "$id": "#/properties/UserFile_storage",
          "type": "string",
          "title": "Upload Document",
          "default": "FileName",
          "examples": [
            "User FileName"
          ]
        },
        "BucketName": {
          "$id": "#/properties/BucketName",
          "type": "string",
          "title": "BucketName",
          "default": "ActionsTest",
          "examples": [
            "User FileName"
          ]
        },
    ...
    

使用文件上传触发无人值守流程

  1. 导航到左侧菜单上的“流程”。
  2. 运行一个允许上传文件的流程,方法是将鼠标指针悬停在相应的图块上,然后单击“运行流程”。
  3. 表单显示为右侧窗格。
  4. 填写字段并附加文件。
  5. 单击“提交”。

业务用户体验​

  1. 登录到 Action Center 网站。
  2. 导航到“流程”。
  3. 通过单击“运行”来启动流程。如果流程包含输入参数,则会显示一个表单。
  4. 填写输入参数的值,然后单击“提交”。
  5. 单击“刷新”以查看事务的最新状态。
  6. 工作流已暂停,并生成了一个操作。
  7. 完成操作后,工作流将继续。
  8. 完成后,用户可以导航到“详细信息”页面以查看/复制输出。

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新