Get User Interaction

Get User Interaction

Retrieves user interaction details for a workflow run. If a workflow run with ID: executionId has a user interaction request, the workflow run is suspended until a user answers the interaction request. This API call returns the user interaction parameter, which has to be filled to answer it.

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

workflowId

string
executionId
Required

executionId


Responses
200

The request is successful

Returns user-interaction 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"
            }
        ]
    },
    "parameter": [
        {
            "description": "string",
            "value": {
                "objectType": "string"
            },
            "type": "string",
            "name": "string",
            "scope": "string",
            "updated": false,
            "encrypt-value": false
        }
    ],
    "assignee": [
        "string"
    ],
    "name": "string",
    "state": "string",
    "id": "string"
}
string
href
Optional

href

relations
Optional

relations

array of parameter
parameter
Optional

parameter

array of string
assignee
Optional

assignee

string
name
Optional

name

string
state
Optional

state

Possible values are : WAITING, FINISHED,
string
id
Optional

id


401

The user is not authorized

Operation doesn't return any data structure

404

Can not 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