Skip to content

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

ParameterDescription
Event TypeThe event type pushed by the server: Refresh Module, Refresh Form Page, Close Form Page, Display Notification, Execute Script on Client
Push ScopeThe user scope reached by the server push: Current User, Everyone in App, Everyone in Team, Specific Users
User ID ListWhen 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 RefreshWhen the event type is Refresh Module, select the application module that needs to be refreshed
Data Table of RecordWhen 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 RefreshWhen 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 IDWhen 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 MessageWhen 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