Updated on 2025-08-15 GMT+08:00

Managing Flows

Running Flows

After a flow is developed, you can run the flow to verify the results. If the output does not meet the expectation, you can use the debug tool to quickly pinpoint where the output falls short.

  1. Log in to the application designer by referring to Logging In to the Application Designer.
  2. In the navigation pane, choose Logic.
  3. Move the cursor to the corresponding flow, click , and choose Edit. The flow design page is displayed.
  4. Click in the upper part of the editor to save the flow.

    After the settings are saved, the system compiles the flow. If an error or warning is displayed, click OK and modify the flow on the flow editor page. Save the modification until no error or warning is reported.

  5. After the settings are saved, click in the upper part of the page to run the flow.
  6. On the page that is displayed, set parameters and click Run.

    Enter input parameters if required and click Run. If you do not need to enter any input parameters, click Run.
    Table 1 Parameter description

    Parameter

    Description

    Header Params

    Parameter configuration of the request header. Key indicates the parameter name, and Value indicates the parameter value.

    Click in front of the header parameter to specify Key and Value. Click Add Row to add parameters.

    responseType('arraybuffer')

    Response type. If this parameter is selected, the response returned is a JavaScript ArrayBuffer containing binary data.

    Input Parameters

    Input parameters and values of the running flow instance.

  7. Check whether the debugging result on the output tab page meets the expectation.

    Table 2 Output

    Debugging Result

    Value

    View Trace

    After you click this button, the log tracker dialog box is displayed, showing the run logs of the flow instance.

    Message

    Indicates the debugging result.

    • Success
    • The values %!v(BADINDEX) and Parameter name are invalid or in an invalid format.

    Outputs

    Check whether the output of the flow is as expected.

    • If the output meets expectations, click in the upper part of the flow designer page to activate the flow.
    • If the output does not meet your expectation, click Tracer in the upper right corner of the flow designer page to go to the tracer page and view details.

      On the tracer page, view details about each step of the flow. Check which step does not meet your expectation.

      Figure 1 Log tracer

Viewing Flow Details

After a flow is created, you can view its basic information, input parameters, and output parameters on its details page.

  1. Log in to the application designer by referring to Logging In to the Application Designer.
  2. In the navigation pane, choose Logic.
  3. Move the cursor to of a created flow and click Detail.
  4. On the flow details page, view the basic information and input/output parameters of the flow.

Editing a Flow

After a flow is created, if its service logic changes, you can modify and adjust the flow.

  1. Log in to the application designer by referring to Logging In to the Application Designer.
  2. In the navigation pane, choose Logic.
  3. Move the cursor to of a created flow and click Edit.
  4. Redesign the flow.

Moving a Flow

After a flow is created, you can move the flow to an application with development permissions. For example, if a flow created in application A is needed in application B, you can clone it in application A and move the clone to application B.

  1. Log in to the application designer by referring to Logging In to the Application Designer.
  2. In the navigation pane, choose Logic.
  3. Move the cursor to of a created flow and click Move.
  4. Select the elements to be moved and click Next.
  5. Select the target application and click Confirm. The selected elements are moved to this application.

    The flow can be moved only to applications with development permissions.

Cloning a Flow

You can clone a flow to an application. For example, if application A contains flows with similar functions, you can clone one flow to make a new one. This allows you to editing the clone without starting the creation process over.

  1. Log in to the application designer by referring to Logging In to the Application Designer.
  2. In the navigation pane, choose Logic.
  3. Move the cursor to of a created flow and click Clone.
  4. Set the flow label and name. Click Confirm.

    After the clone is successful, you can view the cloned flow in the flow directory.

Deleting a Flow

If a flow is no longer used, you can delete it from the application to prevent it from occupying the resource quota of the account.

  1. Log in to the application designer by referring to Logging In to the Application Designer.
  2. In the navigation pane, choose Logic.
  3. Move the cursor to of a created flow and click Delete.
  4. In the displayed dialog box, select Delete the records in the resource. Click Confirm. Then the flow is deleted.

    If you do not select Delete the records in the resource, only the flow is deleted. The function modules that use the flow are not affected.