Get a list of workflow processes

get/processes
Internal-Use Only

Retrieves a list of workflow processes. The returned items are of type application/vnd.sas.investigation.workflow.process+json.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "self",
6 "href": "/workflows/processes",
7 "uri": "/workflows/processes",
8 "type": "application/vnd.sas.fcs.workflow.workflowProcess"
9 }
10 ],
11 "name": "workflowProcesses",
12 "accept": "application/vnd.sas.investigation.workflow.process",
13 "start": 0,
14 "count": 1,
15 "items": [
16 {
17 "links": [
18 {
19 "method": "GET",
20 "rel": "self",
21 "href": "/workflows/processes/processes/intel_report_workflow:4:4e4bfd6e-a5fa-11e8-9397-0242ac11001",
22 "uri": "/workflows/processes/processes/intel_report_workflow:4:4e4bfd6e-a5fa-11e8-9397-0242ac11001",
23 "type": "application/vnd.sas.investigation.workflow.process",
24 "responseType": "application/vnd.sas.investigation.workflow.process+json"
25 },
26 {
27 "method": "PUT",
28 "rel": "suspend",
29 "href": "/workflows/processes/processes/intel_report_workflow:4:4e4bfd6e-a5fa-11e8-9397-0242ac11001/suspended",
30 "uri": "/workflows/processes/processes/intel_report_workflow:4:4e4bfd6e-a5fa-11e8-9397-0242ac11001/suspended"
31 },
32 {
33 "method": "PUT",
34 "rel": "resume",
35 "href": "/workflows/processes/processes/intel_report_workflow:4:4e4bfd6e-a5fa-11e8-9397-0242ac11001/resumed",
36 "uri": "/workflows/processes/processes/intel_report_workflow:4:4e4bfd6e-a5fa-11e8-9397-0242ac11001/resumed"
37 },
38 {
39 "method": "DELETE",
40 "rel": "cancel",
41 "href": "/workflows/processes/processes/intel_report_workflow:4:4e4bfd6e-a5fa-11e8-9397-0242ac11001",
42 "uri": "/workflows/processes/processes/intel_report_workflow:4:4e4bfd6e-a5fa-11e8-9397-0242ac11001"
43 }
44 ],
45 "version": 1,
46 "entityId": 100513,
47 "entityName": "intel_report",
48 "entityLabel": "Intelligence Report",
49 "workflowDefinitionId": "intel_report_workflow:4:4e4bfd6e-a5fa-11e8-9397-0242ac110013",
50 "workflowName": "intel_report_workflow",
51 "workflowLabel": "Intel Report Workflow",
52 "workflowLabelResource": "svi.workflow.intel_report.1534446766062.label.txt",
53 "workflowDescriptionResource": "svi.workflow.intel_report.1534446766062.description.txt",
54 "workflowVersion": 4,
55 "entityInstanceId": "7a739103-9d8e-49ab-b8e5-fa120a298c06",
56 "entityInstanceLabel": "test test",
57 "id": "5ef6f52f-a5fa-11e8-9397-0242ac110013",
58 "isSuspended": false,
59 "lastResumeAt": "2018-08-22T11:12:20.470Z",
60 "lastResumeBy": "videmo",
61 "resumeFailed": false,
62 "lastSuspendAt": "2018-08-22T11:11:16.468Z",
63 "lastSuspendBy": "videmo",
64 "suspendFailed": false,
65 "startBy": "videmo",
66 "startAt": "2018-08-22T10:58:58.845Z",
67 "state": "RUNNING"
68 }
69 ],
70 "limit": 1,
71 "version": 2
72}

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 operation was successfulSchema