Execute a workflow

Updated at:

This topic describes how to execute a workflow and view the execution result.

Prerequisites

A workflow is created. For more information, see Create a workflow.

Procedure

  1. Log on to the old CloudFlow console.

  2. On the Flows page, click the name of the workflow that you want to execute and view the information about the workflow.

  3. On the Executions tab of the Details page of the workflow, click Start Execution.

  4. In the dialog box that appears, specify an execution name in the Execution Name (Optional) field. If you do not specify an execution name, Serverless Workflow automatically generates a name for the execution.

  5. Enter an input in the JSON format for the execution in the Input (Optional) field.

  6. Click Start Execution to start the execution.

    After the execution starts, the page automatically redirects to the Execution page. On the Execution details page, the status of execution run1 is displayed as Succeeded, and the visual workflow shows that the Startpass1End nodes are all in a successful state.

References

In addition to using the old CloudFlow console, you can also call API operations to execute a workflow and view the execution result:

  • Call the StartExecution operation to execute a workflow. For more information, see StartExecution.

  • Call the DescribeExecution operation to view the execution result. For more information, see DescribeExecution.