Get the current elements of a clinical workflow

get/workflows/{workflowId}/currentElements

Returns the current active flow elements of the specified clinical workflow. Current element types could be -- user tasks, timers, clinical job tasks, notifications, and signal events.

Request Samples

Response Samples

1{
2 "value": {
3 "name": "clinicalFlowElements",
4 "accept": "application/vnd.sas.clinical.workflow.elements+json",
5 "start": 0,
6 "count": 5,
7 "items": [
8 {
9 "version": 1,
10 "id": "WF41955d70-7fc3-4ec1-8f2d-2d8191fe5762",
11 "type": "USERTASK",
12 "elementName": "User task",
13 "elementId": "WFA359E49C-C88A-43CB-AA26-BABA1ED8D7A8",
14 "elementType": "USER_TASK",
15 "creationTimeStamp": "2026-02-24T21:10:01.356Z",
16 "workflowStatus": "ACTIVE",
17 "name": "User task",
18 "contextId": "4ad3c142-0e6e-4ff7-bd3d-2d38261671c1",
19 "contextPath": "/org",
20 "contextTypeId": "organization",
21 "workflowId": "f05a3a94-0d97-4e13-9a67-bf296d64dd8c",
22 "workflowName": "23feb_allElements_1",
23 "assigneeId": "sastest1",
24 "assigneeDisplayName": "SAS Test User 1 (sastest1)",
25 "priority": "HIGH",
26 "taskDueTimeStamp": "2026-03-05T19:17:00.000Z",
27 "assignedTimeStamp": "2026-02-24T21:10:02.874Z",
28 "assignmentStatus": "ASSIGNED",
29 "hoursWorked": 0
30 },
31 {
32 "version": 1,
33 "id": "WF7e8fe2a6-29dd-472e-bfb6-840d51a1e68d",
34 "type": "TIMEREVENT",
35 "elementName": "Intermediate timer1",
36 "elementId": "WFB415DDBB-C35D-45F7-8A26-4624256BD76F",
37 "elementType": "TIMER_INTERMEDIATE_CATCH_EVENT",
38 "workflowStatus": "ACTIVE",
39 "dueDateTimeStamp": "2026-02-28T16:02:00.000Z"
40 },
41 {
42 "version": 1,
43 "id": "WFabf7b0dc-dc19-477b-8970-463e6a1e0a69",
44 "type": "TIMEREVENT",
45 "elementName": "Intermediate timer2",
46 "elementId": "WF9221DA57-7A25-499A-9515-9638DC3E958B",
47 "elementType": "TIMER_INTERMEDIATE_CATCH_EVENT",
48 "workflowStatus": "ACTIVE",
49 "dueDateTimeStamp": "2026-02-24T21:55:01.683Z"
50 },
51 {
52 "version": 1,
53 "id": "WF0fe841e7-0afc-4cf1-8685-aecc2b8c1545",
54 "type": "SIGNALEVENT",
55 "elementName": "Intermediate signal1",
56 "elementId": "WF4B856C82-C95B-41F7-A38F-D6FADE19C77B",
57 "elementType": "SIGNAL_INTERMEDIATE_CATCH_EVENT",
58 "creationTimeStamp": "2026-02-24T21:10:00.616Z",
59 "workflowStatus": "ACTIVE",
60 "signalName": "repositoryFilePut1",
61 "locations": [
62 "/uploadMe/*"
63 ]
64 },
65 {
66 "version": 1,
67 "id": "WF7245cbf7-f649-4b67-ae34-cf02c6643f68",
68 "type": "SIGNALEVENT",
69 "elementName": "Intermediate signal2",
70 "elementId": "WF554C2F4B-1B46-4669-AAD7-B61886AD1DDA",
71 "elementType": "SIGNAL_INTERMEDIATE_CATCH_EVENT",
72 "creationTimeStamp": "2026-02-24T21:10:00.652Z",
73 "workflowStatus": "ACTIVE",
74 "signalName": "repositoryFilePut2",
75 "locations": [
76 "/org/folder1/*"
77 ]
78 }
79 ]
80 }
81}

Path Parameters

NameTypeRequiredDescription
workflowId
string
true

The unique identifier for the clinical workflow.

Responses

StatusMeaningDescription
200OK

OK

Schema
404Not Found

The clinical workflow could not be found.