Get a workflow task

get/processes/tasks/tasks/{taskId}
Internal-Use Only

Retrieves details for the specified workflow task.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "self",
6 "href": "/svi-datahub/workflows/processes/tasks/tasks/94e54bb5-32d2-11ee-9999-8ae1ba173534",
7 "uri": "/svi-datahub/workflows/processes/tasks/tasks/94e54bb5-32d2-11ee-9999-8ae1ba173534",
8 "type": "application/vnd.sas.investigation.workflow.task",
9 "responseType": "application/vnd.sas.investigation.workflow.task+json"
10 },
11 {
12 "method": "PUT",
13 "rel": "claim",
14 "href": "/svi-datahub/workflows/processes/tasks/tasks/94e54bb5-32d2-11ee-9999-8ae1ba173534/claimed",
15 "uri": "/svi-datahub/workflows/processes/tasks/tasks/94e54bb5-32d2-11ee-9999-8ae1ba173534/claimed",
16 "type": "application/vnd.sas.investigation.workflow.task"
17 },
18 {
19 "method": "PUT",
20 "rel": "release",
21 "href": "/svi-datahub/workflows/processes/tasks/tasks/94e54bb5-32d2-11ee-9999-8ae1ba173534/claimReleased",
22 "uri": "/svi-datahub/workflows/processes/tasks/tasks/94e54bb5-32d2-11ee-9999-8ae1ba173534/claimReleased"
23 },
24 {
25 "method": "PUT",
26 "rel": "assign",
27 "href": "/svi-datahub/workflows/processes/tasks/tasks/%25s/assigned",
28 "uri": "/svi-datahub/workflows/processes/tasks/tasks/%25s/assigned",
29 "type": "application/vnd.sas.investigation.workflow.task"
30 },
31 {
32 "method": "PUT",
33 "rel": "complete",
34 "href": "/svi-datahub/workflows/processes/tasks/tasks/94e54bb5-32d2-11ee-9999-8ae1ba173534/completed",
35 "uri": "/svi-datahub/workflows/processes/tasks/tasks/94e54bb5-32d2-11ee-9999-8ae1ba173534/completed",
36 "type": "application/vnd.sas.investigation.workflow.action"
37 }
38 ],
39 "version": 1,
40 "entityId": 100932,
41 "entityName": "TestEntity",
42 "entityLabel": "Perf Test",
43 "solutionName": "sas_visual_investigator_default",
44 "solutionLabel": "SAS Visual Investigator",
45 "workflowDefinitionId": "TestEntity_workflow:1:74c5d56f-30da-11ee-9b68-c6e83977fdb1",
46 "workflowName": "TestEntity_workflow",
47 "workflowLabel": "Perf Test Workflow",
48 "workflowLabelResource": "svi.workflow.TestEntity.1690942531204.label.txt",
49 "workflowDescriptionResource": "svi.workflow.TestEntity.1690942531204.description.txt",
50 "workflowVersion": 1,
51 "entityInstanceId": "7b404733-404b-4c03-895e-b3486bef7d4a",
52 "entityInstanceLabel": "7b404733-404b-4c03-895e-b3486bef7d4a",
53 "id": "94e54bb5-32d2-11ee-9999-8ae1ba173534",
54 "name": "Sample User Task",
55 "definitionId": "UserTask1675090585240",
56 "assignee": "testUser",
57 "processInstanceId": "94e4885c-32d2-11ee-9999-8ae1ba173534",
58 "claimedAt": "2023-08-04T14:46:43.991Z",
59 "participants": [
60 {
61 "id": "sviusrs",
62 "type": "GROUP",
63 "name": "sviusrs"
64 }
65 ],
66 "isClaimedByCurrentUser": true,
67 "isProcessInstanceSuspended": true,
68 "createdAt": "2023-08-04T14:46:43.991Z",
69 "actions": [
70 {
71 "id": "taskOption1675090585241",
72 "name": "Completed",
73 "pagePrompt": {
74 "defaults": [
75 {
76 "id": "dd9fb065-0121-4f9e-b7d3-9a48016e3ea6",
77 "name": "TestEntityPage"
78 }
79 ]
80 }
81 }
82 ]
83}

Path Parameters

NameTypeRequiredDescription
taskId
string
true

The ID of the task.

Responses

StatusMeaningDescription
200OKThe request succeeded.Schema
404Not FoundNo task exists at the requested path.Schema