- 发行说明
- 入门指南
- 面向 Administrator
- RPA 工作流项目
- 应用程序项目
- Studio Web 中的应用程序
- 使用查询参数设置外部上下文
- Set an external context using external events
- 使用数组填充下拉列表、多选下拉列表和单选按钮控件
- 在应用程序项目中对 Data Service 实体使用表格控件
- 应用程序活动
- 智能体流程
- 智能体
- 解决方案
- API 工作流 - 预览

Studio Web 用户指南
External events are custom cross-window communication messages that enable secure data exchange between parent windows and apps embedded in child windows (iframes). At runtime, this enables apps to listen for configured external events and execute the associated automations.
External events bring:
- Event-driven architecture - Trigger specific actions based on custom event types.
- Secure messaging - Ensure communication only occurs between trusted origins.
- Real-time data exchange - Enable dynamic interactions between the host application and embedded UiPath Apps.
The external events functionality relies on the UiPath Communication Driver, a lightweight and secure communication library for cross-window messaging.
The UiPath Communication Driver must be installed in the host platform. Go to the npm package page to download the driver and read detailed documentation on how to install and use it.
- Open an app.
- Right-click App in the project explorer and select Properties.
- Expand the External events section and select Enable.
- In the Allowed origins field, enter the domain of the host application. You can add multiple entries by adding a comma-separated list of URLs.
Allowed origins are critical for the security of external events. Defining allowed origins enables:
-
Validation of message sources - Only processes messages from specified origins.
-
Targeted message delivery - Ensures responses go to intended recipients.
-
Prevention of CSRF attacks - Blocks unauthorised cross-site requests.
-
Maintaining data integrity - Ensures trusted communication channels.
-
-
Open an app and select a page in the project explorer.
-
Navigate to the Events tab in the Properties panel.
-
Select Create external event.
-
Enter a meaningful name for the external event.
-
Select Define workflow file to configure the workflow file to be executed for the defined event. The data received in the external event is available in the workflow argument named ExternalEventData.