Component Operation with websocket connection
Description
Performs one of the operations on the websocket connection of a user of the system or an external system. The connection must exist and be active.
The connection identifier is generated by the websocket connection processing module in the ws role and placed in registrar (sr role) after authorization.
It is possible to send asynchronous messages to a connection, send requests and receive responses. Plugin methods are supported. Two-way file sharing using HTTP is available, as well as providing public temporary links to files via the HTTP.
Index |
|
Short title |
|
Types of scenarios |
|
Starter module |
|
Mode |
Asynchronous |
Icon |
![]() |
Branching pattern |
Branching, closing |
Properties
Specification | Description |
---|---|
Title: |
Select an operation from the list.
|
Title: |
The identifier of the active websocket connection. The connection can be established by an external system with any of the web servers in the deployed cluster, even at a different site. |
Title: |
Select a direction from the list.
|
Title: |
Name of the API extension through which the specified message is sent. It can be either a standard module or any connected plugin-module of the system that implements the program interface for sending messages of the specified type. |
Title: |
The code of the message sent via the specified API extension. Substituted as the first element of a JSON array representing a message in the protocol websocket. |
Title: |
Message body. Must conform to JSON format, unless otherwise defined by a specific extension API. |
Title: |
Switch on synchronous mode of waiting for message delivery to the destination application. If the selected message code within the API extension is a request, enabling the mode provides for receiving a response and saving it to the specified variable. |
Title: |
Special file path available to the script handler. |
Title: |
Select an action from the list as part of a file sharing operation with the session’s temporary directory on the webserver serving the specified connection (category websocktemp).
Applies to a file operation with a category websocktemp. |
Title: |
Special file path available to the script handler. |
Title: |
File name for file sharing operations with a temporary directory on the connection’s web server under category websocktemp. |
Title: |
Timeout to wait for message delivery, in seconds. |
Title: |
Variable to store the content of the response to a sent request if delivery/response pending mode is selected and the selected message code is implemented in the specified API extension as a request format request. |
Title: |
Variable to save the error. |
Title: |
The component to which control is passed if the operation is successfully completed. |
Title: |
The component to which control is passed when the timeout for waiting for message delivery expires. |
Title: |
The component to which control is passed if an error occurs. |