Start a workflow

put/flows/{decisionId}/revisions/{revisionId}/workflows
Internal-Use Only

Starts a new workflow for the specified decision revision.

Request Samples

1

Response Samples

1{
2 "id": "string",
3 "name": "string",
4 "description": "string",
5 "rootId": "string",
6 "parentId": "string",
7 "parentCallActivityId": "string",
8 "definitionId": "string",
9 "definitionRevision": 0,
10 "state": "string",
11 "links": [
12 {
13 "method": "string",
14 "rel": "string",
15 "uri": "string",
16 "href": "string",
17 "title": "string",
18 "type": "string",
19 "itemType": "string",
20 "responseType": "string",
21 "responseItemType": "string"
22 }
23 ],
24 "version": 0
25}

Path Parameters

NameTypeRequiredDescription
decisionId
string
true

The identifier for the decision.

Examples:
"094078e7-278a-4719-a704-6e5e65af29ee"
revisionId
string
true

The identifier for the decision revision.

Examples:
"cd942f3c-60a0-4b16-9184-4cb8921fb0eb"

Request Body

A list of variables to start a workflow.

A variable that is used in a workflow.

NameTypeRequiredDescription
name
string
false

The name of the workflow variable.

value
string
false

The value of the workflow variable.

type
string
false

The type of the workflow variable.

Responses

StatusMeaningDescription
200OKThe workflow was started successfully.HeadersSchema
400Bad RequestThe request was invalid.HeadersSchema
404Not FoundThe specified decision or revision was not found.HeadersSchema
500Internal Server ErrorAn error occurred while starting the workflow.HeadersSchema