Get a workflow task

get/workflowTasks/{taskId}
Internal-Use Only

Returns an active task for a workflow process that is associated with a project in SAS Model Manager. The tasks that are returned have the authorized user as the owner or a potential owner.

Request Samples

1

Response Samples

1{
2 "id": "string",
3 "processId": "string",
4 "processTaskId": "string",
5 "name": "string",
6 "definitionName": "string",
7 "actualOwner": "string",
8 "state": "string",
9 "stateTimeStamp": "2019-08-24T14:15:22Z",
10 "taskDueTimeStamp": "2019-08-24T14:15:22Z",
11 "creationTimeStamp": "2019-08-24T14:15:22Z",
12 "createdBy": "string",
13 "associations": [
14 {
15 "id": "string",
16 "processId": "string",
17 "processName": "string",
18 "parentProcessId": "string",
19 "solutionObjectType": "string",
20 "solutionObjectId": "string",
21 "solutionObjectName": "string",
22 "solutionObjectUri": "string",
23 "solutionObjectMediaType": "string",
24 "version": 0,
25 "links": [
26 {
27 "method": "string",
28 "rel": "string",
29 "uri": "string",
30 "href": "string",
31 "title": "string",
32 "type": "string",
33 "itemType": "string",
34 "responseType": "string",
35 "responseItemType": "string"
36 }
37 ]
38 }
39 ],
40 "links": [
41 {
42 "method": "string",
43 "rel": "string",
44 "uri": "string",
45 "href": "string",
46 "title": "string",
47 "type": "string",
48 "itemType": "string",
49 "responseType": "string",
50 "responseItemType": "string"
51 }
52 ],
53 "resourceCollection": [
54 {
55 "name": "string",
56 "start": 0,
57 "limit": 0,
58 "count": 0,
59 "accept": "string",
60 "links": [
61 {
62 "method": "string",
63 "rel": "string",
64 "uri": "string",
65 "href": "string",
66 "title": "string",
67 "type": "string",
68 "itemType": "string",
69 "responseType": "string",
70 "responseItemType": "string"
71 }
72 ],
73 "version": 0,
74 "items": []
75 }
76 ]
77}

Path Parameters

NameTypeRequiredDescription
taskId
string
true

The ID of a task from the tasks collection.

Responses

StatusMeaningDescription
200OKThe request succeeded.Schema
400Bad RequestThe request was invalid.Schema
404Not FoundNo task with the specified ID exists at the requested path.Schema