Get workflow history

get/flows/{decisionId}/workflows/history

Retrieves the workflow history for the specified decision.

Request Samples

1

Response Samples

1{
2 "items": [
3 {
4 "statusChangedFrom": "Developing",
5 "statusChangedTo": "ReviewReady",
6 "modifiedTimeStamp": 1758570809099,
7 "modifiedBy": "sasdemo",
8 "version": 1.1,
9 "versionId": "99de9a81-1cfe-4a52-99de-8160ec215d0d",
10 "comments": null,
11 "workflowName": "Sample Decision Approval",
12 "workflowVersion": 1,
13 "workflowProcessId": "WF052ea3c0-f2bf-439c-aa86-8c3e5cfcb23a"
14 },
15 {
16 "statusChangedFrom": "ReviewReady",
17 "statusChangedTo": "Developing",
18 "modifiedTimeStamp": 1758570815742,
19 "modifiedBy": "sasdemo",
20 "version": 1.1,
21 "versionId": "99de9a81-1cfe-4a52-99de-8160ec215d0d",
22 "comments": null,
23 "workflowName": "Sample Decision Approval",
24 "workflowVersion": 1,
25 "workflowProcessId": "WF052ea3c0-f2bf-439c-aa86-8c3e5cfcb23a"
26 },
27 {
28 "statusChangedFrom": "Developing",
29 "statusChangedTo": "ReviewReady",
30 "modifiedTimeStamp": 1758570826958,
31 "modifiedBy": "sasdemo",
32 "version": 1.1,
33 "versionId": "99de9a81-1cfe-4a52-99de-8160ec215d0d",
34 "comments": null,
35 "workflowName": "Sample Decision Approval",
36 "workflowVersion": 1,
37 "workflowProcessId": "WF052ea3c0-f2bf-439c-aa86-8c3e5cfcb23a"
38 },
39 {
40 "statusChangedFrom": "ReviewReady",
41 "statusChangedTo": "Approved",
42 "modifiedTimeStamp": 1758570836209,
43 "modifiedBy": "sasdemo",
44 "version": 1.1,
45 "versionId": "99de9a81-1cfe-4a52-99de-8160ec215d0d",
46 "comments": null,
47 "workflowName": "Sample Decision Approval",
48 "workflowVersion": 1,
49 "workflowProcessId": "WF052ea3c0-f2bf-439c-aa86-8c3e5cfcb23a"
50 },
51 {
52 "statusChangedFrom": "Approved",
53 "statusChangedTo": "DeploymentReady",
54 "modifiedTimeStamp": 1758570844610,
55 "modifiedBy": "sasdemo",
56 "version": 1.1,
57 "versionId": "99de9a81-1cfe-4a52-99de-8160ec215d0d",
58 "comments": null,
59 "workflowName": "Sample Decision Approval",
60 "workflowVersion": 1,
61 "workflowProcessId": "WF052ea3c0-f2bf-439c-aa86-8c3e5cfcb23a"
62 },
63 {
64 "statusChangedFrom": "DeploymentReady",
65 "statusChangedTo": "Deployed",
66 "modifiedTimeStamp": 1758570859497,
67 "modifiedBy": "sasdemo",
68 "version": 1.1,
69 "versionId": "99de9a81-1cfe-4a52-99de-8160ec215d0d",
70 "comments": null,
71 "workflowName": "Sample Decision Approval",
72 "workflowVersion": 1,
73 "workflowProcessId": "WF052ea3c0-f2bf-439c-aa86-8c3e5cfcb23a"
74 }
75 ],
76 "revisions": [
77 "1.1"
78 ],
79 "start": "2021-01-01T00:00:00.000Z",
80 "end": "2021-01-02T00:00:00.000Z",
81 "count": 6
82}

Path Parameters

NameTypeRequiredDescription
decisionId
string
true

The identifier for the decision.

Query Parameters

NameTypeRequiredDescription
endDate
string<date-time>
false

The end date for the workflow history.

endRevision
number<double>
false

The ending revision number for the workflow history.

limit
integer
false

The maximum number of items to return on this page of results.

Default:
50
start
integer
false

The starting index of the first item on a page. The index is 0-based.

Default:
0
startDate
string<date-time>
false

The start date for the workflow history.

startRevision
number<double>
false

The starting revision number for the workflow history.

Responses

StatusMeaningDescription
200OK

The request succeeded.

HeadersSchema
400Bad Request

The request was invalid.

Schema
404Not Found

No workflow history exists for the specified decision.

Schema