Start Workflow Execution
Creates a new instance of a workflow's run, by using the passed parameters. The workflow run is an asynchronous, so the call does not return a response body.
workflowId
{
"executionId": "string",
"parameters": [
{
"value": {
"0": "V",
"1": "a",
"2": "l",
"3": "u",
"4": "e",
"5": " ",
"6": "O",
"7": "b",
"8": "j",
"9": "e",
"10": "c",
"11": "t"
},
"name": "string",
"type": "Example types are: SecureString, MimeAttachment, Regexp, Array/VC:VirtualMachine, boolean, string and etc.",
"description": "string",
"scope": "string",
"updated": false,
"encrypt-value": false
}
],
"profilerOptions": {
"enabled": false,
"debuggerEnabled": false,
"tokenReplayEnabled": false
}
}
executionId
parameters
profilerOptions
The request is successful
{
"relations": {
"startIndex": 0,
"count": 0,
"total": 0,
"link": [
{
"rel": "string",
"type": "string",
"attributes": [
{
"name": "string",
"displayName": "string",
"value": "string",
"displayValue": "string"
}
],
"href": "string"
}
]
},
"id": "string",
"state": "string",
"name": "string",
"href": "string",
"inputParameters": [
{
"value": {
"0": "V",
"1": "a",
"2": "l",
"3": "u",
"4": "e",
"5": " ",
"6": "O",
"7": "b",
"8": "j",
"9": "e",
"10": "c",
"11": "t"
},
"name": "string",
"type": "Example types are: SecureString, MimeAttachment, Regexp, Array/VC:VirtualMachine, boolean, string and etc.",
"description": "string",
"scope": "string",
"updated": false,
"encrypt-value": false
}
],
"outputParameters": [
{
"value": {
"0": "V",
"1": "a",
"2": "l",
"3": "u",
"4": "e",
"5": " ",
"6": "O",
"7": "b",
"8": "j",
"9": "e",
"10": "c",
"11": "t"
},
"name": "string",
"type": "Example types are: SecureString, MimeAttachment, Regexp, Array/VC:VirtualMachine, boolean, string and etc.",
"description": "string",
"scope": "string",
"updated": false,
"encrypt-value": false
}
],
"start-date": "string",
"end-date": "string",
"business-state": "string",
"started-by": "string",
"running-instance-id": "string",
"content-exception": "string",
"current-item-display-name": "string",
"execution-stack": [
{
"relations": {
"startIndex": 0,
"count": 0,
"total": 0,
"link": [
{
"rel": "string",
"type": "string",
"attributes": [
{
"name": "string",
"displayName": "string",
"value": "string",
"displayValue": "string"
}
],
"href": "string"
}
]
},
"name": "string",
"displayName": "string",
"workflowDisplayName": "string",
"attributes": [
{
"value": {
"0": "V",
"1": "a",
"2": "l",
"3": "u",
"4": "e",
"5": " ",
"6": "O",
"7": "b",
"8": "j",
"9": "e",
"10": "c",
"11": "t"
},
"name": "string",
"type": "Example types are: SecureString, MimeAttachment, Regexp, Array/VC:VirtualMachine, boolean, string and etc.",
"description": "string",
"scope": "string",
"updated": false,
"encrypt-value": false
}
],
"href": "string",
"workflow-attributes": [
{
"value": {
"0": "V",
"1": "a",
"2": "l",
"3": "u",
"4": "e",
"5": " ",
"6": "O",
"7": "b",
"8": "j",
"9": "e",
"10": "c",
"11": "t"
},
"name": "string",
"type": "Example types are: SecureString, MimeAttachment, Regexp, Array/VC:VirtualMachine, boolean, string and etc.",
"description": "string",
"scope": "string",
"updated": false,
"encrypt-value": false
}
]
}
],
"workflowAttributes": [
{
"value": {
"0": "V",
"1": "a",
"2": "l",
"3": "u",
"4": "e",
"5": " ",
"6": "O",
"7": "b",
"8": "j",
"9": "e",
"10": "c",
"11": "t"
},
"name": "string",
"type": "Example types are: SecureString, MimeAttachment, Regexp, Array/VC:VirtualMachine, boolean, string and etc.",
"description": "string",
"scope": "string",
"updated": false,
"encrypt-value": false
}
],
"current-item-for-display": "string",
"statistic": {
"id": "string",
"activities": [
{
"id": "string",
"total-time": 0,
"number-of-executions": 0,
"number-of-transitions": 0,
"max-time": 0
}
],
"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": [
{
"plugin-name": "string",
"total-time": 0,
"number-of-executions": 0
}
]
},
"formInputs": [
{}
]
}
relations
id
state
name
href
inputParameters
outputParameters
start-date
end-date
business-state
started-by
running-instance-id
content-exception
current-item-display-name
execution-stack
workflowAttributes
current-item-for-display
statistic
formInputs
The request is invalid(validation error)
"WsWorkflowExecution Object"
relations
id
state
name
href
inputParameters
outputParameters
start-date
end-date
business-state
started-by
running-instance-id
content-exception
current-item-display-name
execution-stack
workflowAttributes
current-item-for-display
statistic
formInputs
The user is not authorized
"WsWorkflowExecution Object"
relations
id
state
name
href
inputParameters
outputParameters
start-date
end-date
business-state
started-by
running-instance-id
content-exception
current-item-display-name
execution-stack
workflowAttributes
current-item-for-display
statistic
formInputs
Cannot find a workflow with the specified ID or the user does not have 'read' access rights for that workflow
"WsWorkflowExecution Object"
relations
id
state
name
href
inputParameters
outputParameters
start-date
end-date
business-state
started-by
running-instance-id
content-exception
current-item-display-name
execution-stack
workflowAttributes
current-item-for-display
statistic
formInputs
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/vco/api/workflows/{workflowId}/executions