All Products
Search
Document Center

CloudFlow:Execute a flow

Last Updated:Oct 30, 2023

After a flow is created, you can execute the flow and view the execution results.

Background information

This example illustrates how an execution input is passed to a task step and then to the function in Function Compute when input-to-output mapping is not defined. It also illustrates how the output of the function is passed to the task step and finally becomes the output of the flow execution.

You can call the StartExecution operation to execute a flow or call the DescribeExecution operation to view the execution results.

Procedure

  1. On the Flows page, click Start Execution.
  2. In the Execution Name (Optional) dialog box, enter an execution name.
  3. Set a flow input for the execution.
    • The flow input is {"name": "Function Flow"}. In the Execution Name (Optional) dialog box, click Start Execution.

      After an execution is started, the system automatically goes to the Execute page. You can view the execution results. The flow output is {"hello": "Function Flow"}.

    • The flow input is {}. In the Execution Name (Optional) dialog box, click Start Execution.

      After an execution is started, the system automatically goes to the Execute page. You can view the execution results. The flow output is {"hello": "world"}.