Salesforce

TCP Listener - Configuration (Magic xpi 4.13)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

TCP Listener - Configuration (Magic xpi 4.13)

The TCP Listener component enables Magic xpi to listen continuously for requests made by a TCP client on a TCP port, and to trigger a flow when a specific request is received.

Before you use the TCP Listener component, you should first define a TCP Listener service in the Settings dialog box's Services section.

The Component Configuration: TCP Listener dialog box contains the following fields:

Name

Description

Operation Details

Message in

Specifies the variable that holds a request received from a TCP client.

Click to open the Variables List. Choose the required variable, and click Select.

Return value

Specifies the variable that holds the returned value. If you set the Processing mode (below) to Synchronous, a True value can be returned. If you set the Processing mode (below) to Asynchronous, a False value can be returned.

Click to open the Variables List. Choose the required variable, and click Select.

Request Details

Processing mode

Specifies how the request is handled. Select one of the following from the drop-down list:

  • Synchronous (default): Once the flow process (including any parallel branches of the flow) is completed, the value contained in the Return value variable (above) is returned as the TCP client's response.

  • Asynchronous: No response/confirmation is sent to the TCP client. The client does not wait until the request has completed its activities.

Reference
Attachment 
Attachment