Get Workflow Execution

Get Workflow Execution

Retrieves a workflow run for a given workflow. When request parameter showDetails is set to true additional information will be retrieved. In this case the result contains current execution stack of the workflow run.

Request
URI
GET
https://{api_host}/vco/api/workflows/{workflowId}/executions/{executionId}
COPY
Path Parameters
string
workflowId
Required

workflowId

string
executionId
Required

executionId

Query Parameters
boolean
showDetails
Optional

showDetails

string of array
expand
Optional

expand


Responses
200

The request is successful

Returns workflow-execution of type(s) application/json
{
    "href": "string",
    "relations": {
        "total": 0,
        "start": 0,
        "link": [
            {
                "attribute": [
                    {
                        "displayValue": "string",
                        "value": "string",
                        "name": "string"
                    }
                ],
                "href": "string",
                "type": "string",
                "rel": "string"
            }
        ]
    },
    "id": "string",
    "state": "string",
    "inputParameters": [
        {
            "description": "string",
            "value": {
                "objectType": "string"
            },
            "type": "string",
            "name": "string",
            "scope": "string",
            "updated": false,
            "encrypt-value": false
        }
    ],
    "outputParameters": [
        {
            "description": "string",
            "value": {
                "objectType": "string"
            },
            "type": "string",
            "name": "string",
            "scope": "string",
            "updated": false,
            "encrypt-value": false
        }
    ],
    "start-date": "string",
    "end-date": "string",
    "business-state": "string",
    "started-by": "string",
    "name": "string",
    "content-exception": "string",
    "current-item-display-name": "string",
    "workflow-item": [
        {
            "name": "string",
            "displayName": "string",
            "workflowDisplayName": "string",
            "parameter": [
                {
                    "description": "string",
                    "value": {
                        "objectType": "string"
                    },
                    "type": "string",
                    "name": "string",
                    "scope": "string",
                    "updated": false,
                    "encrypt-value": false
                }
            ],
            "href": "string",
            "relations": {
                "total": 0,
                "start": 0,
                "link": [
                    {
                        "attribute": [
                            {
                                "displayValue": "string",
                                "value": "string",
                                "name": "string"
                            }
                        ],
                        "href": "string",
                        "type": "string",
                        "rel": "string"
                    }
                ]
            }
        }
    ],
    "workflowAttributes": [
        {
            "description": "string",
            "value": {
                "objectType": "string"
            },
            "type": "string",
            "name": "string",
            "scope": "string",
            "updated": false,
            "encrypt-value": false
        }
    ],
    "current-item-for-display": "string",
    "statistic": {
        "activities": [
            {
                "activities": [
                    "activity-statistics Object"
                ],
                "id": "string",
                "total-time": 0,
                "number-of-executions": 0,
                "number-of-transitions": 0,
                "max-time": 0
            }
        ],
        "id": "string",
        "total-time": 0,
        "number-of-transitions": 0,
        "total-number-of-transitions": 0,
        "token-size": 0,
        "token-blocked": 0,
        "token-system": 0,
        "token-user": 0,
        "token-wait": 0,
        "plugins": [
            {
                "details": [
                    {
                        "key": "string",
                        "value": 0
                    }
                ],
                "plugin-name": "string",
                "total-time": 0,
                "number-of-executions": 0
            }
        ]
    }
}
string
href
Optional

href

relations
Optional

relations

string
id
Optional

id

string
state
Optional

state

Possible values are : CANCELED, COMPLETED, RUNNING, SUSPENDED, WAITING, STATE_WAITING_ON_SIGNAL, FAILED, INITIALIZING,
array of parameter
inputParameters
Optional

inputParameters

array of parameter
outputParameters
Optional

outputParameters

string As date-time As date-time
start-date
Optional

start-date

string As date-time As date-time
end-date
Optional

end-date

string
business-state
Optional

business-state

string
started-by
Optional

started-by

string
name
Optional

name

string
content-exception
Optional

content-exception

string
current-item-display-name
Optional

current-item-display-name

workflow-item
Optional

workflow-item

array of parameter
workflowAttributes
Optional

workflowAttributes

string
current-item-for-display
Optional

current-item-for-display

statistic
Optional

statistic


204

No content

Operation doesn't return any data structure

400

The request is invalid(validation error)

Operation doesn't return any data structure

401

The user is not authorized

Operation doesn't return any data structure

404

Cannot find a workflow with the specified ID or the user does not have 'read' access rights for that workflow

Operation doesn't return any data structure