Get a list of all versions of the workflow definitions

get/revisions
Internal-Use Only

Retrieves a list of all versions of the workflow definitions. The returned items are of type application/vnd.sas.investigation.workflow.workflow+json.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "self",
6 "href": "/workflows/revisions",
7 "uri": "/workflows/revisions",
8 "type": "application/vnd.sas.collection+json"
9 },
10 {
11 "method": "POST",
12 "rel": "create",
13 "href": "/workflows",
14 "uri": "/workflows",
15 "type": "application/vnd.sas.investigation.workflow.workflow",
16 "responseType": "application/vnd.sas.investigation.workflow.workflow+json"
17 }
18 ],
19 "name": "workflows",
20 "accept": "application/vnd.sas.investigation.workflow.workflow",
21 "start": 0,
22 "count": 1,
23 "items": [
24 {
25 "links": [
26 {
27 "method": "GET",
28 "rel": "self",
29 "href": "/workflows/revisions/Test_workflow_1:1:00e4e535-739b-11ee-a8bf-0242ac11001f",
30 "uri": "/workflows/revisions/Test_workflow_1:1:00e4e535-739b-11ee-a8bf-0242ac11001f",
31 "type": "application/vnd.sas.investigation.workflow.workflow",
32 "responseType": "application/vnd.sas.investigation.workflow.workflow+json"
33 }
34 ],
35 "version": 2,
36 "entityId": 100832,
37 "entityName": "Test",
38 "entityLabel": "Test Entity",
39 "solutionName": "sas_visual_investigator_default",
40 "solutionLabel": "SAS Visual Investigator",
41 "id": "Test_workflow_1:1:00e4e535-739b-11ee-a8bf-0242ac11001f",
42 "labelResource": "svi.workflow.Test.1698282006259.label.txt",
43 "descriptionResource": "svi.workflow.Test.1698282006259.description.txt",
44 "graphicalModel": "{\"linkFromPortIdProperty\":\"fromPort\",\"linkToPortIdProperty\":\"toPort\",\"modelData\":{\"version\":10.21,\"entityIdsUpdated\":true},\"nodeDataArray\":[{\"key\":\"StartEvent1698281985717\",\"category\":\"event\",\"text\":\"Start\",\"textResource\":\"svi.workflow.Test.1698282006259.StartEvent1698281985717.name.txt\",\"item\":\"StartEvent\",\"descriptionResource\":\"svi.workflow.Test.1698282006259.StartEvent1698281985717.description.txt\",\"entityFieldVariables\":[],\"loc\":\"0 0\",\"taskActions\":[],\"gateway\":false},{\"key\":\"UserTask1698281989094\",\"category\":\"activity\",\"text\":\"User Task\",\"textResource\":\"svi.workflow.Test.1698282006259.UserTask1698281989094.name.txt\",\"item\":\"UserTask\",\"descriptionResource\":\"svi.workflow.Test.1698282006259.UserTask1698281989094.description.txt\",\"participants\":[{\"id\":\"sviusrs\",\"type\":\"group\",\"name\":\"sviusrs\"}],\"loc\":\"0 102.5\",\"size\":{\"width\":200,\"height\":70},\"taskActions\":[{\"id\":\"taskOption1698281989095\",\"name\":\"Completed\",\"processVariables\":[],\"entityFieldVariables\":[],\"nameResource\":\"svi.workflow.Test.1698282006259.UserTask1698281989094.action.taskOption1698281989095.name.txt\",\"value\":\"taskOption1698281989095\"}],\"stopOnFailure\":true,\"gateway\":false},{\"key\":\"EndEvent1698281990910\",\"category\":\"event\",\"text\":\"End\",\"textResource\":\"svi.workflow.Test.1698282006259.EndEvent1698281990910.name.txt\",\"item\":\"EndEvent\",\"descriptionResource\":\"svi.workflow.Test.1698282006259.EndEvent1698281990910.description.txt\",\"loc\":\"-0.5 217\",\"taskActions\":[],\"stopOnFailure\":true,\"gateway\":false}],\"linkDataArray\":[{\"from\":\"StartEvent1698281985717\",\"to\":\"UserTask1698281989094\",\"visible\":true,\"fromPort\":\"bottomPort\",\"toPort\":\"topPort\",\"points\":[0,21,0,51,0,51,0,38,0,38,0,68],\"text\":\"\",\"textResource\":\"svi.workflow.Test.1698282006259.StartEvent1698281985717_UserTask1698281989094.name.txt\",\"descriptionResource\":\"svi.workflow.Test.1698282006259.StartEvent1698281985717_UserTask1698281989094.description.txt\"},{\"from\":\"UserTask1698281989094\",\"to\":\"EndEvent1698281990910\",\"visible\":true,\"fromPort\":\"bottomPort\",\"toPort\":\"topPort\",\"points\":[0,136,0,166,0,166,0,164,0,164,0,194],\"text\":\"\",\"textResource\":\"svi.workflow.Test.1698282006259.UserTask1698281989094_EndEvent1698281990910.name.txt\",\"descriptionResource\":\"svi.workflow.Test.1698282006259.UserTask1698281989094_EndEvent1698281990910.description.txt\"}],\"class\":\"go.GraphLinksModel\"}",
45 "resourceStrings": {
46 "svi.workflow.Test.1698282006259.EndEvent1698281990910.description.txt": "",
47 "svi.workflow.Test.1698282006259.EndEvent1698281990910.name.txt": "End",
48 "svi.workflow.Test.1698282006259.StartEvent1698281985717.description.txt": "",
49 "svi.workflow.Test.1698282006259.StartEvent1698281985717.name.txt": "Start",
50 "svi.workflow.Test.1698282006259.StartEvent1698281985717_UserTask1698281989094.description.txt": "",
51 "svi.workflow.Test.1698282006259.StartEvent1698281985717_UserTask1698281989094.name.txt": "",
52 "svi.workflow.Test.1698282006259.UserTask1698281989094.action.taskOption1698281989095.name.txt": "Completed",
53 "svi.workflow.Test.1698282006259.UserTask1698281989094.description.txt": "",
54 "svi.workflow.Test.1698282006259.UserTask1698281989094.name.txt": "User Task",
55 "svi.workflow.Test.1698282006259.UserTask1698281989094_EndEvent1698281990910.description.txt": "",
56 "svi.workflow.Test.1698282006259.UserTask1698281989094_EndEvent1698281990910.name.txt": "",
57 "svi.workflow.Test.1698282006259.description.txt": "",
58 "svi.workflow.Test.1698282006259.label.txt": "Test Workflow"
59 },
60 "enabled": true,
61 "useForAutoStart": true,
62 "autoStartOrder": 1,
63 "createdAt": "2023-10-26T01:00:06.790Z",
64 "createdBy": "videmo",
65 "lastUpdatedAt": "2023-10-26T01:00:06.790Z",
66 "lastUpdatedBy": "videmo",
67 "publishCode": "OPEN",
68 "name": "Test_workflow_1",
69 "label": "Test Workflow",
70 "workflowVersion": 1
71 }
72 ],
73 "limit": 1,
74 "version": 2
75}

Query Parameters

NameTypeRequiredDescription
fields
string
false

The comma-separated list of resource members to return in the collection.

filter
string
false

Filters the collection using prefix function syntax using selected resource members.

limit
integer<int32>
false

The number of items that were requested for the collection.

Default:
10
sortBy
string
false

The sorting preference for selected resource members in the returned collection.

Default:
id:ascending
start
integer<int64>
false

The zero-based index of the first item in the collection.

Default:
0

Responses

StatusMeaningDescription
200OKThe request succeeded.Schema
400Bad RequestThe request was invalid.Schema