A workflow instance is created when a workflow definition is run, either manually or by a scheduled trigger. This topic describes how to manage workflow instances.
Prerequisites
A workflow is created and run. For more information, see the Create a workflow and Run a workflow sections of the "Manage a workflow" topic.
View workflow instances
Go to the Project tab.
Log on to the EMR console with your Alibaba Cloud account (main account) or a RAM user.
In the navigation pane on the left, choose EMR Studio > Workflow.
On the Workflow page, find the target workspace and click Console in the Actions column.
On the Project Management page, click the name of an existing project.
In the left-side navigation pane, choose Instance O&M > Workflow Instance.
The Workflow Instance page lists all your workflow instances.
View the run logs of a workflow instance
On the Workflow Instance page, click the name of a workflow instance.
On the DAG page of the workflow instance, double-click a node of the workflow instance.
In the Task Settings dialog box, click View Logs.
In the dialog box that appears, you can view the task log. You can also click Download Logs to download the task log file.
View the historical tasks that were run in a workflow instance
On the Workflow Instance page, click the name of a workflow instance.
On the DAG page of the workflow instance, double-click a node of the workflow instance.
In the dialog box that appears, click View History.
You are redirected to the Task Instance page. This page displays a list of task instances that have run in the workflow instance. On this page, you can also view or download a task log.
Operations on workflow instances
Operation | Description |
Rerun | You can rerun a workflow instance that is terminated. |
Rerun Failed Task | You can retry to run a failed workflow instance from the failed node of the workflow instance. |
STOP | If you perform the STOP operation on a running workflow instance, the backend first stops the worker process and then executes the |
More |
|
Related documents
For operations related to task instances, see Manage tasks.