Push Event to Client
Overview
The server actively pushes events to the client, and the client executes corresponding processing logic after receiving the events.
Parameter Configuration
| Parameter | Description |
|---|---|
| Event Type | The event type pushed by the server: Refresh Module, Refresh Form Page, Close Form Page, Display Notification, Execute Script on Client |
| Push Scope | The user scope reached by the server push: Current User, Everyone in App, Everyone in Team, Specific Users |
| User ID List | When the push scope is Specific Users, the list of user IDs to receive the push. Dynamic content can be output using expressions to obtain context variables |
| Module to Refresh | When the event type is Refresh Module, select the application module that needs to be refreshed |
| Data Table of Record | When the event type is Refresh Form Page or Close Form Page, select the data table where the record to be operated is located |
| Record ID to Refresh | When the event type is Refresh Form Page, the ID of the record to refresh. Can be dynamically specified using expressions to obtain context variables |
| Form Record ID | When the event type is Close Form Page, the ID of the form record to close. Can be dynamically specified using expressions to obtain context variables |
| Notification Message | When the event type is Display Notification, the content of the notification. Can be dynamically specified using expressions to obtain context variables |
Usage Scenarios
- After adding, deleting, or modifying application data using automation or script operations, push events to refresh user page data
- After listening to application events and processing logic, push events to refresh user page data
- After deleting data through automation or scripts, push form close events
- After publishing system announcements, push announcement messages to everyone in the system
Notes
Pushing events to clients relies on SSE implementation. If the SSE connection between client and server fails, the pushed information cannot be delivered to the client

