Skip to content

Connections ​

Cloud Flow Blocks reference.

Blocks ​

Connection ​

Block name: connectionasstring

Provides the name of a connection.

Inputs ​

InputTypeDescriptionAccepts
connectionconnectionThe connection name to use. You can type the connection name directly or click the lookup button to select from valid connections available in the current context.

Output ​

This block produces an output value of type String.

Behavior ​

Generates a string literal containing the selected connection name.

  • connectioncommandasstring
  • connectioncommandcall
  • apiconnectionasstring

Connection Function Call ​

Block name: connectionfunctioncall

Calls a selected server-side method on the chosen installed connection and returns a deferred result. This block is typically used with promise blocks such as promisethen or promiseawaitret to wait for the connection response.

Inputs ​

InputTypeDescriptionAccepts
connectionconnectionThe connection to call. This is typically provided by a connectionasstring block, which lets you type the connection name directly or click the lookup button to select from valid connections available in the current context.connectionasstring
methodconnection methodThe server-side method to call on the selected connection. This is typically provided by a connectionfunctionasstring block, which lets you type the method name directly or click the lookup button to select from valid methods available for the current connection.connectionfunctionasstring
dataobjectThe parameter object to pass to the selected connection method. This is typically provided by a define_object block so method parameters are named explicitly.define_object

Output ​

This block produces an output value of type Promise.

Behavior ​

Generates server-side code that calls $io.system.connectionMethod(...) with the selected Connection, method, and named parameter object. The operation returns a Promise containing the Connection method result.

Calls: $io.system.connectionMethod

Connection Method ​

Block name: connectionfunctionasstring

Provides the name of a server-side method for the selected connection.

Inputs ​

InputTypeDescriptionAccepts
methodconnection methodThe server-side connection method name to use. You can type the method name directly or click the lookup button to select from valid methods available for the current connection.

Output ​

This block produces an output value of type String.

Behavior ​

Generates a string containing the selected Connection method name. The Connection Function Call block (connectionfunctioncall) uses this value to invoke the selected supported method.