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

Managing Flows in Applications

Flows allow you to develop services through simple drag-and-drop and parameter configuration. Flows also support re-arranging existing services. In the environment configuration page, you can manage all flows under the current account, including viewing, enabling, disabling, and running flows.

Constraints

This menu is displayed only in the sandbox environment and production environment. Operations in the sandbox environment are identical to those in the production environment. This section uses the production environment as an example.

Managing Flows

  1. On the Huawei Cloud Astro Zero console, click Manage Runtime Environment of the purchased commercial instance to access the production environment.
  2. Choose Maintenance from the main menu.
  3. In the navigation pane, choose Global Elements > Flow.
  4. On the flow page, you can view all flows created by the account in the current environment.
  5. In the Operation column, you can disable, enable, or delete a flow. For details about the parameters, see Table 1.

    Table 1 Description of the flow tab page

    Parameter

    Description

    Name

    Name of the flow, which contains the namespace prefix, that is, the name configured during flow creation.

    Status

    Compilation status of flow.

    • Pass: The flow is passed. That is, no error or warning is reported during compilation after the flow is saved.
    • Warning: indicates that a warning is generated during compilation after the flow is saved.

    Enable

    Indicates whether flow is enabled.

    Type

    Type of the flow instance. The options are as follows:

    • Global: flow preconfigured in the system.
    • Customization: user-defined flow.

    Last Modified By

    Name of the user who modifies the flow last time.

    Last Modified At

    Last time when the flow was modified.

    Operation

    You can perform the following operations on flow:

    • Click to enable the flow.
    • Click to disable the flow. The frontend page can call the flow only after the flow is enabled.
    • Click to delete a flow. When this button is dimmed, it cannot be deleted. The preset service templates cannot be deleted.

  6. In the list displayed on the flow tab page, click a flow name. The flow details page is displayed.

    On the details page, you can switch the flow version, and run or delete the flow. For details about the parameters on the details page, see Table 2. For parameters not involved, see the GUI description.
    Table 2 Parameters on the flow details page

    Parameter

    Description

    Click this button to orchestrate the service. If the flow has multiple versions, the flow in the enabled state is executed. If multiple versions are not enabled, the flow of the latest version is executed.

    Name

    Name of the flow, that is, the name configured during flow creation.

    Label

    Service orchestration tag, that is, the tag configured during flow creation.

    Belonging App/BO

    App or BO to which the flow belongs.

    Type

    Indicates the flow type, that is, the type configured during flow creation.

    • Autolaunched Flow: Automatically starts flow. After an API is called, the logic defined by the flow model is executed immediately.
    • Event Trigger: Trigger flow by events. The logic defined by the flow model is executed only when an event that meets the rule is triggered.

    Enable

    Indicates whether flow is enabled.

    Version

    Version of the flow. If the flow has multiple versions, the flow versions in the enabled state are displayed. If multiple versions are not enabled, the latest version is displayed.

    URL

    Part of the flow URL, which consists of run/FlowName. FlowName indicates the flow name.

    You can use the following REST APIs to orchestrate services.

    https://Huawei Cloud Astro Zero domain name/u-route/baas/flow/v1.0/URL value

    The parameters in the formula for scoring a node are as follows:

    • Huawei Cloud Astro Zero domain name: Replace it with the actual domain name.
    • URL value: Displayed value of URL, which consists of run/FlowName.

    Visibility

    Indicates whether the flow is visible.

    Overridable

    Whether a resource can be customized as a new version, imported to an add-on application, or saved as a new version if it already exists in an add-on application.

    This parameter is selected by default. When it is not selected, the description is as follows:

    • When you customize a new version based on the resource, the following error message is displayed: XXX does not support the customization of a new version. Check the basic properties and confirm whether the asset can be overwritten.
    • The resource cannot be imported to the add-on application.
    • If the resource has been imported to the add-on application, the new version cannot be customized.

    Description

    Description of the flow.

    Click Edit to modify the flow function. You are advised to enter the flow function.

    Input Parameter

    Input parameters for flow, including the parameter name, data type, whether the parameter is a set, and description.

    If the flow has multiple versions, the parameters of the enabled flow are displayed. If multiple versions are not enabled, the flow parameters of the latest version are displayed.

    Output Parameters

    Output parameters of flow, including the parameter name, data type, whether the parameter is a set, and description.

    If the flow has multiple versions, the parameters of the enabled flow are displayed. If multiple versions are not enabled, the flow parameters of the latest version are displayed.

    Version

    All versions of Service Orchestration. Click in the Operation column of the corresponding version to run the flow. You can also enable, disable, or delete the flow of the corresponding version.

  7. On the Service Orchestration Management page, click the Service Orchestration Running Instances tab to view the running flow instances of the account in the current environment.

    Each time a flow is run, the system generates a flow instance and assigns an instance ID to the instance to identify the instance. After the flow is complete, the system automatically deletes the instance ID.
    Table 3 Description of the Service Orchestration Running Instance Page

    Parameter

    Description

    Name

    Name of the flow, that is, the name configured during flow creation.

    Label

    Label of a flow instance.

    The default value is {!$Flow.CurrentDateTime}, which is the value of display label configured when the customized flow is a new version.

    Version

    Version of the running flow.

    Current Element

    Diagram element where the flow instance is running.

    Instance ID

    When a flow instance is running, the system allocates an instance ID to the running instance to identify the running flow instance.

    Created By

    User name for running the flow instance.

    Creation Time

    Time when the flow starts.

    Operation

    • Click . On the displayed flow tracker page, view the running details of the flow instance.
    • Click to delete the flow instance.