跳转至

Actions(操作(Actions))

Actions in Foundry allow users to easily define meaningful building blocks for creating, editing, deleting, and linking object data.

For example:

  • A "Create New Flight" Action creates a new Flight object and sets the Flight Number, Time of Departure, Origin, and Destination properties on that object.
  • A "Delay Flight" Action modifies an existing Flight object to delay its Time of Departure property.
  • An "Assign To Flight" Action links a Flight object to a Passenger object.

To learn how Actions can be used in Workshop, see Use an Action within Workshop.

Defining an Action

For a tutorial on how to define an action type, see the Actions tutorial.

Learn more about Actions.


中文翻译

操作(Actions)

在 Foundry 中,操作(Actions)使用户能够轻松定义实用的构建块,用于创建、编辑、删除和关联对象(Object)数据。

例如:

  • “创建新航班”操作会创建一个新的 Flight 对象,并设置该对象的 Flight NumberTime of DepartureOriginDestination 属性(Properties)。
  • “航班延误”操作会修改现有的 Flight 对象,以推迟其 Time of Departure 属性值。
  • “分配至航班”操作会将 Flight 对象与 Passenger 对象进行关联。

如需了解如何在 Workshop 中使用操作,请参阅在 Workshop 中使用操作

定义操作

如需了解如何定义操作类型,请参阅操作教程

了解更多关于操作的信息。