Manage workflow and task instances

Updated at:

After you create a workflow, you can manage its workflow and task instances. This topic explains how to view these instances, check task logs, and perform other management operations.

Prerequisites

A workflow has been created and run. For more information, see Create a workflow and Run a workflow.

Workflow instance details

  1. Log on to the Realtime Compute for Apache Flink console.

  2. In the Actions column of the target workspace, click Console.

  3. In the left-side navigation pane, choose O&M > Workflows.

  4. Click the name of a workflow to open its instance page.

    • The Overview tab shows all workflow instances and their execution times and statuses.

    • On the Overview tab, click the ID of a workflow instance. Alternatively, click the Diagrams tab to view the diagram of the workflow instance. The color of each task instance indicates its status. For more information about the statuses, see Workflow statuses.

Task instance details

  1. Log on to the Realtime Compute for Apache Flink console.

  2. In the Actions column of the target workspace, click Console.

  3. In the left-side navigation pane, choose O&M > Workflows.

  4. Click the name of a workflow to open its instance page.

  5. On the Overview tab, in the Instance History section, click the ID of a workflow instance to view its Diagrams.

  6. Click a task instance to view its details in a dialog box.

    The dialog box shows runtime information, such as Task ID, Retry Count, Status (such as Failed), Start Time, End Time, and Duration.

    • Show Task Logs: Displays the runtime logs for the task instance.

    • Show Related Job Details: Opens the O&M page for the associated job instance.

    • Re-Run: Reruns the task instance. You can select Execute the same operation for downstream tasks to rerun all downstream task instances.

    • Set as Success: Marks a failed task instance as successful, allowing the workflow to proceed. You can select Execute the same operation for downstream tasks to also set all downstream task instances as successful.

    • Force Stop: Forcefully stops a running task instance.

Related documents