All Products
Search
Document Center

CloudFlow:View execution details

Last Updated:Oct 30, 2023

This topic describes how to view execution details in the Serverless Workflow console or by using a command line tool.

View execution details in the Serverless Workflow console

  1. Log on to the Serverless workflow console.
  2. In the left-side navigation pane, click Flows. On the Flows page, click the name of the target flow.
  3. On the Details page, click the name of the target execution.
    desc-exec-0
  4. On the Execute page, view the flow definition, result, visualization information, input, and output of the execution.
    desc-exec-1

View execution details by using a command line tool

  • You can run DescribeExecution to view an execution.
    $ aliyun fnf DescribeExecution --FlowName cli_guide_1 --ExecutionName run1
    {
        "Name": "run1",
        "FlowName": "cli_guide_1",
        "FlowDefinition": "version: v1\ntype: flow\nname: test\nsteps:\n  - type: pass\n    name: pass1",
        "Input": "",
        "Output": "",
        "Status": "Succeeded",
        "StartedTime": "2019-05-13T06:23:48.767Z",
        "StoppedTime": "2019-05-13T06:23:54.403Z",
        "RequestId": "xxxx"
    }           
  • You can run ListExecutions to query all executions of a flow.
    $ aliyun fnf ListExecutions --FlowName cli_guide_1 --Limit 1
    {
        "Executions": [
            {
                "Name": "run1",
                "FlowName": "cli_guide_1",
                "FlowDefinition": "version: v1\ntype: flow\nname: test\nsteps:\n  - type: pass\n    name: pass1",
                "Input": "",
                "Output": "",
                "Status": "Succeeded",
                "StartedTime": "2019-05-13T06:23:48.767Z",
                "StoppedTime": "2019-05-13T06:23:54.403Z"
            }
        ],
        "NextToken": "run2",
        "RequestId": "xxxx"
    }       
    Note The Limit parameter specifies the number of executions you want to query. If an execution involves other data, the result contains NextToken. In the next query, you can use the --NextToken parameter to specify the starting position of the query.