Updated on 2024-10-29 GMT+08:00

Managing a Workflow

Starting a Workflow

Log in to the ModelArts console. In the navigation pane, choose Development Workspace > Workflow.

You can run a workflow in any of the following ways:

  • On the workflow list page, click Start in the Operation column. In the displayed dialog box, click OK.
  • On the runtime configuration page, click Start in the upper right corner. In the displayed dialog box, click OK.
  • On the workflow configuration page, click Start in the upper right corner. In the displayed dialog box, click OK.

    After a workflow is started, you will be charged on a pay-per-use basis. After the workflow is complete, you can stop it to avoid unnecessary fees.

Stopping a Workflow

Log in to the ModelArts console. In the navigation pane, choose Development Workspace > Workflow.

You can stop a running workflow in either of the following ways:

  • Workflow list page

    When a workflow is running, the Stop button is available in the Operation column. Click Stop. In the displayed dialog box, click OK.

  • Click the name of a running workflow and click Stop in the upper right corner of the displayed page. In the displayed dialog box, click OK.

    The Stop button is available only for a workflow that is running.

    After a workflow is stopped, the associated training jobs and real-time services are also stopped.

Copying a Workflow

A workflow can have only one running instance. If you want to concurrently run a workflow, copy the workflow. To do so, click More in the Operation column and select Copy. In the displayed dialog box, a new name is automatically generated in the format of "Original workflow name_copy".

You can rename the new workflow. Ensure that the name complies with naming specifications.

A workflow name is 1 to 64 characters long, starting with a letter and containing only letters, digits, underscores (_), and hyphens (-).

Deleting a Workflow

Log in to the ModelArts console. In the navigation pane, choose Development Workspace > Workflow.

You can delete a workflow in either of the following ways:

  • Workflow list page
    1. Click More in the Operation column and select Delete.
    2. In the displayed dialog box, enter delete and click OK.
  • Runtime configuration page

    Click Delete in the upper right corner of the page. In the displayed dialog box, enter DELETE and click OK.

    • Deleted workflows cannot be recovered.
    • When a workflow is deleted, the associated real-time service or training job is not deleted. You need to manually delete the real-time service or training job on the Model Training > Training Jobs page or Model Deployment > Real-Time Services page.