Open topic with navigation

TIBCO Flogo® Connector for WebSockets 1.0.1

# 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: String: String message. JSON: If JSON is selected, a text editor is provided to accept a JSON document.
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 TIBCO Flogo® Enterprise User's Guide. TIBCO Cloud ™ Integration documentation.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Flogo® Connector for WebSockets

Copyright © 2024. Cloud Software Group, Inc. All Rights Reserved.