跳转至

Action types(操作类型(Action types))

In the Ontology, users can make changes to objects, properties, and links by applying actions. An action is a single transaction that changes the properties of one or more objects, based on a user-defined logic. Actions enable users to handle and manage data while thinking about overall objectives instead of specific property edits.

An action type is the definition of a set of changes or edits to objects, property values, and links that a user can take at once. It also includes the side effect behaviors that occur with action submission.

Example:

You may create an Assign Employee action type that defines how users can change the role property value for a given Employee object. This action type could require a parameter definition enabling users to input the new role in a standardized form and can include rules for how to automatically create a link between the Employee object and that of a new Manager.

The action could also:

  • Include a notification side effect that will notify the old and new manager of the change.
  • Validate that authorized employees such as those working in human resources can perform the action.

With these parameters set, an HR employee can then take an action to switch "Melissa Chang" to a "Product Manager" role, for example.

Rather than being an abstract data model, the Foundry Ontology maps each ontological concept to an organization's actual data, enabling this data asset to power real-world applications. The data asset grows in richness and value as user decisions and insights are captured in the form of edits to the Ontology.

Any changes made to objects, property values, and links will be committed to the Ontology when the user takes the action and will be reflected in all user applications. Likewise, the same action logic and validations can be made available across all user-facing applications, ensuring consistent edits to the Ontology. The most up-to-date version of object data with user edits incorporated will be captured in an object type's writeback dataset.

Get started by learning how to create an action type, or learn about rules, parameters, and submission criteria.


中文翻译


操作类型(Action types)

在本体论(Ontology)中,用户可以通过应用操作(actions)对对象(objects)、属性(properties)和链接(links)进行更改。操作是基于用户自定义逻辑、对单个或多个对象属性进行变更的单一事务。操作使用户能够从整体目标出发处理和管理数据,而非专注于具体的属性编辑。

操作类型(action type) 是用户可一次性对对象、属性值和链接执行的一组变更或编辑的定义。它还包括操作提交时发生的副作用行为(side effect behaviors)。

示例:

您可以创建一个 Assign Employee 操作类型,定义用户如何更改指定 Employee 对象的 role 属性值。该操作类型可能需要参数定义,使用户能够通过标准化表单输入新角色,并可包含自动创建 Employee 对象与新 Manager 对象之间链接的规则。

该操作还可以:

  • 包含通知副作用,将变更告知新旧经理。
  • 验证只有授权员工(如人力资源部门员工)才能执行该操作。

设置好这些参数后,HR 员工即可执行操作,例如将 "Melissa Chang" 的 role 切换为 "Product Manager"。

Foundry 本体论并非抽象数据模型,而是将每个本体概念映射到组织的实际数据,使这一数据资产能够驱动真实世界的应用。随着用户决策和洞察以本体编辑形式被捕获,数据资产的价值和丰富度将不断提升。

当用户执行操作时,对对象、属性值和链接的任何更改都将提交至本体论,并在所有用户应用中同步反映。同样,相同的操作逻辑和验证规则可在所有面向用户的应用中统一使用,确保对本体的编辑一致性。包含用户编辑的最新对象数据版本将存储在对象类型的回写数据集(writeback dataset)中。

开始学习如何创建操作类型,或了解规则参数提交条件