Business Interface Invocation

Appearance

Parameter Description

  • Node Name: name of a node.
  • Description: details of a node.
  • Interface Type: Select the type of the interface to be invoked. The options are inner interface and self defined interface. Currently, there is only one built-in interface Record Q&A, which is used to record the survey ID, question title, user reply intention, original user reply, and other information.
  • Invoked Interface: interface to be invoked. Select an interface added on the Resource Management > Business Interface page.
  • Cache Variable and Response Attribute: flow variables and their values. The output parameter returned by the interface is valid only on the current node. If you want to use the value in subsequent flow nodes, define a cache variable here and assign the value of the output parameter to the cache variable.
  • Condition and Condition Expression: branches of the exit of the current diagram element. For example, you can set a branch based on the value of an output parameter. Different subsequent flows can be specified for each branch.
  • Method Invocation: Built-in functions described in Built-in Functions can be used if data processing, such as truncation, length obtaining, conversion, and check, is required by businesses.

Using the Diagram Element

Click the diagram element or drag it to the canvas, and select the interface to be invoked. The invoked interface needs to be configured on the Resource Management > Business Interface page in advance. If you use this diagram element to assign a value, you do not need to select an interface. Instead, you can directly add a cache variable and assign a value to it. In this case, you need to maintain global variables in advance.

Typical Application Scenario

For details about how to use the Business Interface Invocation diagram element, see Typical Application Scenario. In the typical application scenario of the Rule Validation diagram element, the parameter value assignment function of the Business Interface Invocation diagram element is used.