Get the element setup for a specific clinical workflow

get/workflows/{workflowId}/elementdefinitions

Returns workflow component information for a clinical workflow. This includes all items that have setup data that can be configured for the workflow -- user tasks, timers, clinical job tasks, notifications, and signal events.

Request Samples

Response Samples

1{
2 "value": {
3 "name": "elements",
4 "accept": "application/vnd.sas.clinical.workflow.elementdefinition+json",
5 "start": 0,
6 "count": 8,
7 "items": [
8 {
9 "version": 1,
10 "workflowId": "f05a3a94-0d97-4e13-9a67-bf296d64dd8c",
11 "elementId": "WFA359E49C-C88A-43CB-AA26-BABA1ED8D7A8",
12 "elementName": "User task",
13 "elementType": "USER_TASK",
14 "type": "USERTASK",
15 "name": "User task",
16 "dueTimeStamp": "2026-03-05T19:17:00.000Z",
17 "priority": "MEDIUM",
18 "assigneeId": "sastest1",
19 "assigneeDisplayName": "SAS Test User 1 (sastest1)",
20 "candidates": [
21 {
22 "version": 1,
23 "id": "sastest1",
24 "typeId": "user",
25 "name": "SAS Test User 1",
26 "displayName": "SAS Test User 1 (sastest1)"
27 },
28 {
29 "version": 1,
30 "id": "sastest2",
31 "typeId": "user",
32 "name": "SAS Test User 2",
33 "displayName": "SAS Test User 2 (sastest2)"
34 },
35 {
36 "version": 1,
37 "id": "sastest3",
38 "typeId": "user",
39 "name": "SAS Test User 3",
40 "displayName": "SAS Test User 3 (sastest3)"
41 }
42 ]
43 },
44 {
45 "version": 1,
46 "workflowId": "f05a3a94-0d97-4e13-9a67-bf296d64dd8c",
47 "elementId": "WFB415DDBB-C35D-45F7-8A26-4624256BD76F",
48 "elementName": "Intermediate timer1",
49 "elementType": "TIMER_INTERMEDIATE_CATCH_EVENT",
50 "summaryDetails": "2026-02-28T16:02:00.000Z",
51 "type": "TIMEREVENT",
52 "timerType": "DURATION",
53 "timerTimeStamp": "2026-02-28T16:02:00.000Z",
54 "valueType": "TIMESTAMP"
55 },
56 {
57 "version": 1,
58 "workflowId": "f05a3a94-0d97-4e13-9a67-bf296d64dd8c",
59 "elementId": "WF21B84E29-F2E8-4B38-BE1E-FD2582A9B9DB",
60 "elementName": "Wait job",
61 "elementType": "SYSTEM_JOB_EXEC",
62 "summaryDetails": "simple_with_parameters.cjob",
63 "type": "JOBTASK",
64 "jobPath": "/org/simple_with_parameters.cjob",
65 "jobName": "simple_with_parameters.cjob",
66 "jobLocation": "/org",
67 "jobVersion": "1.3",
68 "parameters": [
69 {
70 "version": 1,
71 "useDefault": false,
72 "name": "folder_param2",
73 "value": {
74 "path": "/org/inputOutputDataSets",
75 "includeSubfolders": false
76 },
77 "type": "FOLDER"
78 },
79 {
80 "version": 1,
81 "useDefault": false,
82 "name": "date_param2",
83 "value": "2026-04-11T18:56:43.000Z",
84 "type": "DATE"
85 }
86 ]
87 },
88 {
89 "version": 1,
90 "workflowId": "f05a3a94-0d97-4e13-9a67-bf296d64dd8c",
91 "elementId": "WF9221DA57-7A25-499A-9515-9638DC3E958B",
92 "elementName": "Intermediate timer2",
93 "elementType": "TIMER_INTERMEDIATE_CATCH_EVENT",
94 "summaryDetails": "PT30M",
95 "type": "TIMEREVENT",
96 "timerType": "DURATION",
97 "timerDuration": "PT30M",
98 "valueType": "DURATION"
99 },
100 {
101 "version": 1,
102 "workflowId": "f05a3a94-0d97-4e13-9a67-bf296d64dd8c",
103 "elementId": "WFFB513DFF-6C99-438D-9CF6-2AA9DEE2C2F8",
104 "elementName": "Notification",
105 "elementType": "NOTIFICATION_TASK",
106 "summaryDetails": "Clinical Notification",
107 "type": "NOTIFICATION",
108 "notificationTemplate": "Clinical Notification",
109 "recipientsFromTask": false,
110 "toRecipient": {
111 "version": 1,
112 "id": "sasadm",
113 "typeId": "user",
114 "name": "SAS Administrator",
115 "displayName": "SAS Administrator (sasadm)"
116 },
117 "bccRecipients": [],
118 "subject": "",
119 "message": ""
120 },
121 {
122 "version": 1,
123 "workflowId": "f05a3a94-0d97-4e13-9a67-bf296d64dd8c",
124 "elementId": "WF554C2F4B-1B46-4669-AAD7-B61886AD1DDA",
125 "elementName": "Intermediate signal2",
126 "elementType": "SIGNAL_INTERMEDIATE_CATCH_EVENT",
127 "type": "SIGNALEVENT",
128 "signalName": "repositoryFilePut2",
129 "locations": [
130 "/org/folder1/*",
131 "/org/folder2/*"
132 ]
133 },
134 {
135 "version": 1,
136 "workflowId": "f05a3a94-0d97-4e13-9a67-bf296d64dd8c",
137 "elementId": "WF4B856C82-C95B-41F7-A38F-D6FADE19C77B",
138 "elementName": "Intermediate signal1",
139 "elementType": "SIGNAL_INTERMEDIATE_CATCH_EVENT",
140 "type": "SIGNALEVENT",
141 "signalName": "repositoryFilePut1"
142 },
143 {
144 "version": 1,
145 "workflowId": "f05a3a94-0d97-4e13-9a67-bf296d64dd8c",
146 "elementId": "WFD99B5FDE-E5EB-45A2-A969-4EFE2F899196",
147 "elementName": "No wait job",
148 "elementType": "SYSTEM_JOB_EXEC_NO_WAIT",
149 "type": "JOBTASK"
150 }
151 ],
152 "limit": 8,
153 "version": 2
154 }
155}

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.