Apps
最新
False
横幅背景图像
Apps 用户指南
上次更新日期 2024年4月26日

在应用程序中引用队列

To create better, more complex apps, UiPath® Apps can connect and interact with queues from UiPath® Orchestrator.

从 Orchestrator 导入流程

在 Orchestrator 中发布流程后,您可以从应用程序引用该流程。

备注:
Apps 只能引用使用特定数据 JSON 架构文件创建的队列。
docs image
架构定义示例:
{
    "definitions": {},
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://example.com/root.json",
    "type": "object",
    "title": "The Root Schema",
    "required": [
        "name"
    ],
    "properties": {
        "name": {
            "type": "string"
        },
        "isPermanent": {
            "type": "boolean"
        },
        "age": {
            "type": "number"
        },
        "department": {
            "type": "string",
            "enum": ["Sales", "Marketing", "HR"]
        }
        }
    }{
    "definitions": {},
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://example.com/root.json",
    "type": "object",
    "title": "The Root Schema",
    "required": [
        "name"
    ],
    "properties": {
        "name": {
            "type": "string"
        },
        "isPermanent": {
            "type": "boolean"
        },
        "age": {
            "type": "number"
        },
        "department": {
            "type": "string",
            "enum": ["Sales", "Marketing", "HR"]
        }
        }
    }

以下示例显示了如何将现有队列添加到应用程序:

  1. 在 App Studio 中的现有应用程序中,展开“添加控件”按钮右侧的下拉菜单。
  2. 选择队列



  3. 系统将显示当前帐户的租户列表。选择托管您需要导入的实体的租户,然后单击“下一步”



  4. 系统会打开“添加队列”向导,显示所选租户中的队列列表。高亮显示队列将显示其内容。
  5. 选择一个或多个队列。右侧面板显示高亮队列的属性列表。



  6. 选中要在应用程序中使用的队列旁边的复选框,然后单击“添加”

注意:队列权限在 Orchestrator 中进行管理。确保您对要从 Orchestrator 添加的队列具有适当的权限。

更新引用的队列

要更新架构已更改的引用队列,请执行以下步骤:

  1. 从树视图的“队列”部分中,选择要更新的队列。

  2. 单击刷新图标。



  • 从 Orchestrator 导入流程
  • 更新引用的队列

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.