Updated on 2024-10-12 GMT+08:00

Interface Invocation (Expired and Not Recommended)

This diagram element is used to invoke a configured interface of a tenant. During interface invocation, you can assign values to the input and output parameters of the interface as required.

Diagram Element

Parameter Description

The following figure shows the parameters of the Invoke Interface diagram element.

The parameters are described as follows:

  • Node Name: Enter a diagram element name. The value can be customized.
  • Select Interface: Select an interface name from the drop-down list box. The interfaces that can be selected have been configured for the current tenant. For details about the interface configuration, see Adding Business Interfaces.
  • Input Parameter: This area displays the input parameters of the selected interface. When there are specific input parameters, constants and variables can be combined, for example, id ${FLOW.ID}. You can also assign values to input parameters. The values can be constants and variables. Note that the input variables such as FLOW.ID must be defined in the system.
  • Output Parameter: This area displays the output parameters of the selected interface. If there are specific output parameters, you can assign values to the output parameters as required. You can associate FLOW or GLOBAL variables. When the value is obtained from the interface, JSON data nesting is supported. The value is obtained in the result.name result.id format.
  • Click Save to save all parameters set on the current page.

Typical Application Scenario

This diagram element is used to invoke an interface.