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": [
{
"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
"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 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