すべてのプロダクト
Search
ドキュメントセンター

CloudFlow:実行履歴の表示

最終更新日:Mar 14, 2025

このトピックでは、CloudFlow コンソールまたは Alibaba Cloud CLI を使用して実行履歴を表示する方法について説明します。

背景情報

実行履歴には、各ステップの実行ステータスが詳細に記録されます。実行履歴に基づいて、ワークフローに関する情報 (ステップ、入力、出力、期間、実行の失敗原因など) を確認できます。さらに、Serverless Workflow は、ステータスデータを使用してワークフローの実行を追跡し、システムの高可用性を確保します。

CloudFlow コンソール

  1. CloudFlow コンソールにログインします。

  2. [flows] ページで、管理するワークフローの名前をクリックします。

  3. ワークフローの [詳細] ページの [Executions] タブで、表示する実行の名前をクリックします。

  4. [実行履歴] タブで、実行履歴を表示します。

    get-exec-history-1

Alibaba Cloud CLI

次のコマンドを実行して、実行履歴を表示できます。

aliyun fnf GetExecutionHistory --FlowName cli_guide_1 --ExecutionName run1

予想される出力:

{
  "Events": [
    {
      "StepName": "",
      "Type": "ExecutionStarted",
      "EventId": 1,
      "ScheduleEventId": 0,
      "EventDetail": "{\"input\":{}}",
      "Time": "2024-06-24T02:58:42.043Z"
    },
    {
      "StepName": "pass1",
      "Type": "StepEntered",
      "EventId": 2,
      "ScheduleEventId": 1,
      "EventDetail": "{\"input\":{},\"local\":{}}",
      "Time": "2024-06-24T02:58:42.077Z"
    },
    {
      "StepName": "pass1",
      "Type": "StepStarted",
      "EventId": 3,
      "ScheduleEventId": 2,
      "EventDetail": "{\"input\":{}}",
      "Time": "2024-06-24T02:58:42.091Z"
    },
    {
      "StepName": "pass1",
      "Type": "StepSucceeded",
      "EventId": 4,
      "ScheduleEventId": 3,
      "EventDetail": "{\"output\":{}}",
      "Time": "2024-06-24T02:58:42.109Z"
    },
    {
      "StepName": "pass1",
      "Type": "StepExited",
      "EventId": 5,
      "ScheduleEventId": 4,
      "EventDetail": "{\"local\":{}}",
      "Time": "2024-06-24T02:58:42.127Z"
    },
    {
      "StepName": "pass2",
      "Type": "StepEntered",
      "EventId": 6,
      "ScheduleEventId": 5,
      "EventDetail": "{\"input\":{},\"local\":{}}",
      "Time": "2024-06-24T02:58:42.144Z"
    },
    {
      "StepName": "pass2",
      "Type": "StepStarted",
      "EventId": 7,
      "ScheduleEventId": 6,
      "EventDetail": "{\"input\":{}}",
      "Time": "2024-06-24T02:58:42.156Z"
    },
    {
      "StepName": "pass2",
      "Type": "StepSucceeded",
      "EventId": 8,
      "ScheduleEventId": 7,
      "EventDetail": "{\"output\":{}}",
      "Time": "2024-06-24T02:58:42.169Z"
    },
    {
      "StepName": "pass2",
      "Type": "StepExited",
      "EventId": 9,
      "ScheduleEventId": 8,
      "EventDetail": "{\"local\":{}}",
      "Time": "2024-06-24T02:58:42.181Z"
    },
    {
      "StepName": "",
      "Type": "ExecutionSucceeded",
      "EventId": 10,
      "ScheduleEventId": 9,
      "EventDetail": "{\"output\":{}}",
      "Time": "2024-06-24T02:58:42.194Z"
    }
  ],
  "RequestId": "98802e07-44a2-221a-fbc2-ec167a871259"
}