Websocket Write Data Activity
You can use the Websocket Write Data activity to write data on an already created Websocket connection. You must map Websocket connection as an input to this activity.
Settings
Field | Required | Description |
---|---|---|
Message Format | Yes |
Selects one of the following formats for the message body:
|
Schema for JSON value | No | The JSON schema for the websocket message. The Schema for JSON value field is only available when the Message Format field is JSON. This is a free form text editor that accepts any valid JSON document. You can also specify an app-level schema by using the Use app level schema option. |
Input
The Input tab has the following fields:
Field | Description |
---|---|
message | Data to be written on the connection. |
wsconnection | Use the already created connection by the Websocket Server trigger or Websocket Subscriber trigger as an input. |
Loop
To iterate Websocket Write data activity multiple times within the flow, enter an expression that
evaluates to the iteration details. Select a type of iteration from the Type menu. The default type is
None, which means the activity does not iterate. For more information about Loop, see the "Using the Loop Feature in an Activity" topic in the