Side effects(副作用(Side effects))¶
Action types are designed to support the full range of decision-making processes within an organization. When the Ontology serves as the system of record for a decision-making process, using rules to define object modifications allows you to express business processes with great flexibility. In order to support the full range of organizational processes, action types support a few additional features:
- For real-time processes, you may need to notify users about changes that are happening in the system so they can take action in response.
- In cases when a system besides Foundry is the source of truth for your organization, you may need to integrate with the other system to support the existing business process. This pattern is sometimes referred to as "decision orchestration."
Side effects in action types enable you to send data out of Foundry to integrate with existing organizational processes. There are two main types of side effects:
- Notifications allow you to flexibly configure how a user should be notified when an action is applied. This includes the ability to send an email to users on the platform.
- Webhooks allow you to connect to systems outside Foundry in a highly flexible way, including sending requests to a REST API or an ERP system. This enables you to write to other sources systems in your organization, or more flexibly send notifications to users by integrating with messaging systems.
You can learn more about notifications and webhooks using the links above, or review these guides to get started:
中文翻译¶
副作用(Side effects)¶
操作类型(Action types)旨在支持组织内全方位的决策流程。当本体(Ontology)作为决策流程的记录系统时,通过规则(rules)定义对象修改,可以灵活地表达业务流程。为支持各类组织流程,操作类型还提供了以下附加功能:
- 对于实时流程,您可能需要向用户发送通知,告知系统中正在发生的变化,以便他们采取相应行动。
- 当组织以 Foundry 之外的其他系统作为数据源时,您可能需要与该系统集成以支持现有业务流程。这种模式有时被称为"决策编排(decision orchestration)"。
操作类型中的副作用(Side effects)使您能够将数据从 Foundry 发送出去,与现有组织流程集成。副作用主要分为两类:
- 通知(Notifications)允许您灵活配置应用操作后如何通知用户,包括向平台用户发送电子邮件。
- Webhooks使您能够以高度灵活的方式连接 Foundry 之外的系统,包括向 REST API 或 ERP 系统发送请求。这使您能够写入组织内的其他源系统,或通过与消息系统集成更灵活地向用户发送通知。
您可以通过上述链接了解更多关于通知和 Webhooks 的信息,或参考以下指南快速上手: