UiPath Documentation
data-service
latest
false
Data Fabric 用户指南
  • 入门指南
    • 简介
    • Data Fabric/Data Service 功能可用性
    • 探索用户界面
    • 区域和实例
  • 许可
  • 设置和配置
  • 使用服务
  • 参考
  • 示例和教程
  • 日志记录
重要 :
Data Service 正在向 Data Fabric 过渡。在此过程中,您可能会看到这两种名称被用于不同的交付选项。 请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

创建实体

在 Data Fabric/Data Service 中创建新实体,从本地或外部来源配置其字段,并设置其租户或文件夹作用域。

在 Data Fabric/Data Service 中创建的所有对象都称为“实体”

备注:

您还可以直接在 Maestro Flow VS Code 解决方案中创建和编辑原生实体,而无需离开编辑器。这是一项预览版功能,仅在 VS Code 中提供。有关更多信息,请参阅VS Code 中的实体

  1. 导航到“Data Fabric/Data Service”“实体”页面将打开。

  2. 选择“创建新实体” 。此时将打开“实体创建”面板。

  3. 输入实体的显示名称“显示名称”是在 Studio 中导入实体时显示的名称。可以在创建实体后修改此字段。

  4. 输入实体的名称。名称可以是字母数字,但必须以字母开头。它必须包含 3 到 30 个字符。“名称”字段将自动填充与“显示名称”相同的值。您只能在实体创建过程中更改其值。创建实体后,将无法编辑“名称”字段。

  5. (可选)为实体添加说明

  6. In the Entity type section, select the type of entity to create:

    1. Select Native to store the entity's data in UiPath. A Native entity supports create, read, update, and delete operations, and holds only its own fields.
    2. Select Federated to create a read-only view whose fields are read from external systems, or from a native Data Fabric entity, each time the entity is queried. A Federated entity holds no fields of its own.
      备注:

      You cannot change the entity type once chosen. For what each type supports, refer to Entity types.

  7. 要限制对记录的访问,请使用“启用基于角色的记录访问”开关。

    备注:

    Role-based record access does not apply to Federated entities, and the toggle is not displayed for them. The records of a Federated entity are held by its source systems.

  8. “位置”部分中:

    1. 选择“租户” ,即可使具有租户级访问权限的所有用户可用整个租户的数据。
    2. 选择“文件夹” ,可使数据仅对有权访问所选 Orchestrator 文件夹的用户可见。如果选择“文件夹” ,则必须从“选择文件夹”下拉列表中选择一个目标 Orchestrator 文件夹。您创建的实体的作用域范围为您选择的文件夹。
      备注:

      实体位置一经选择便无法更改。

  9. 选择“创建”

  10. 要手动添加字段,请在实体创建向导中选择“添加对象”

  11. “添加对象”面板中,选择来源类型。

    备注:

    The source types available depend on the entity type. A Native entity offers Local fields only. A Federated entity offers External source and Native source.

    1. To add fields from external systems, such as Salesforce or SAP, select External source. For the systems you can choose from, refer to External systems. After you select an external system from the External system dropdown, a connection is either populated by default in the Connection field, or you need to add a connection manually by selecting Add new connection. If you need to select Add new connection, a new browser tab opens prompting you to provide authentication information to connect UiPath to your selected external system. After the Connection field is populated, select the object from the Object dropdown.

    2. To add fields from a native Data Fabric / Data Service entity, select Native source, and then select the entity you want to reference. The entity you reference must be at the same location as the entity you are creating.

    3. For a Native entity, to add fields locally stored with UiPath, select Local fields.

    4. 选择“继续”

      Once the object is added, each of its fields can be configured in the editor that opens, including the field type and the settings under Advanced options.

      备注:

      当前仅“文本”“多行文本”字段支持使用客户托管密钥 (CMK) 进行数据加密。

      要加密这些字段的数据,请在该字段的“高级选项”面板中选中“加密数据”复选框。

  12. Select Manage joins to connect joins between fields from multiple, different source types. In the Manage joins section, you have to map the fields from two different sources by selecting the Primary object, Primary field, Referenced object, and Referenced field from the dropdowns.

  13. 选择“保存”

新实体将显示在“实体”列表中。

External systems

A Federated entity reads its fields from an external system each time it is queried. The data stays in the system of record, and Data Fabric / Data Service holds only the mapping, so there is no copying step to build and keep current. A field referenced this way behaves like any other field in automations, workflows, Apps, and Maestro.

The following external systems are available for field referencing:

  • Database Hub (Databricks, Oracle DB, PostgreSQL, Redshift, and MS SQL Server)
  • Microsoft Azure Active Directory
  • Salesforce
  • SAP
  • ServiceNow
  • Snowflake

To reference fields from another Data Fabric / Data Service entity rather than from an external system, select Native source in the Add object panel.

Queries that read from an external system are subject to a set of limits. For more information, refer to Query limits for external data.

为连接到多个系统的实体建模

With multi-source entity modeling, you can reference fields from multiple external systems, such as Salesforce and ServiceNow, in a single Federated entity.

We recommend a star schema approach when connecting more than one system. All connected systems and external objects should map directly to a core entity, rather than chaining through one another.

To include fields stored in UiPath in the same view, hold them in a native entity and reference it with Native source. The native entity can itself serve as the core that every external object joins to.

备注:

The core object is the one that every other source joins to. It can be an external object or a native source.

此星型模式方法可创建简洁布局,如以下示例所示:

  • External systems
  • 为连接到多个系统的实体建模

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新