Get a list of workflow definitions

get/
Internal-Use Only

Retrieves a list of the latest 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",
7 "uri": "/workflows",
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/workflows/Test_workflow_1:1:00e4e535-739b-11ee-a8bf-0242ac11001f",
30 "uri": "/workflows/workflows/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 "method": "PUT",
36 "rel": "update",
37 "href": "/workflows/workflows/Test_workflow_1:1:00e4e535-739b-11ee-a8bf-0242ac11001f",
38 "uri": "/workflows/workflows/Test_workflow_1:1:00e4e535-739b-11ee-a8bf-0242ac11001f",
39 "type": "application/vnd.sas.investigation.workflow.workflow",
40 "responseType": "application/vnd.sas.investigation.workflow.workflow+json"
41 }
42 ],
43 "version": 2,
44 "entityId": 100832,
45 "entityName": "Test",
46 "entityLabel": "Test Entity",
47 "solutionName": "sas_visual_investigator_default",
48 "solutionLabel": "SAS Visual Investigator",
49 "id": "Test_workflow_1:1:00e4e535-739b-11ee-a8bf-0242ac11001f",
50 "labelResource": "svi.workflow.Test.1698282006259.label.txt",
51 "descriptionResource": "svi.workflow.Test.1698282006259.description.txt",
52 "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\"}",
53 "resourceStrings": {
54 "svi.workflow.Test.1698282006259.EndEvent1698281990910.description.txt": "",
55 "svi.workflow.Test.1698282006259.EndEvent1698281990910.name.txt": "End",
56 "svi.workflow.Test.1698282006259.StartEvent1698281985717.description.txt": "",
57 "svi.workflow.Test.1698282006259.StartEvent1698281985717.name.txt": "Start",
58 "svi.workflow.Test.1698282006259.StartEvent1698281985717_UserTask1698281989094.description.txt": "",
59 "svi.workflow.Test.1698282006259.StartEvent1698281985717_UserTask1698281989094.name.txt": "",
60 "svi.workflow.Test.1698282006259.UserTask1698281989094.action.taskOption1698281989095.name.txt": "Completed",
61 "svi.workflow.Test.1698282006259.UserTask1698281989094.description.txt": "",
62 "svi.workflow.Test.1698282006259.UserTask1698281989094.name.txt": "User Task",
63 "svi.workflow.Test.1698282006259.UserTask1698281989094_EndEvent1698281990910.description.txt": "",
64 "svi.workflow.Test.1698282006259.UserTask1698281989094_EndEvent1698281990910.name.txt": "",
65 "svi.workflow.Test.1698282006259.description.txt": "",
66 "svi.workflow.Test.1698282006259.label.txt": "Test Workflow"
67 },
68 "enabled": true,
69 "useForAutoStart": true,
70 "autoStartOrder": 1,
71 "createdAt": "2023-10-26T01:00:06.790Z",
72 "createdBy": "videmo",
73 "lastUpdatedAt": "2023-10-26T01:00:06.790Z",
74 "lastUpdatedBy": "videmo",
75 "publishCode": "OPEN",
76 "name": "Test_workflow_1",
77 "label": "Test Workflow",
78 "workflowVersion": 1
79 }
80 ],
81 "limit": 1,
82 "version": 2
83}

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