We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 476d4f1 commit 0cab7e3Copy full SHA for 0cab7e3
Client-Side Components/Catalog Client Script/Multi-User Collaboration/widget server script.JS
@@ -0,0 +1,15 @@
1
+(function() {
2
+ var collabs = [];
3
+ var gr = new GlideRecord('x_your_scope_collaborators');
4
+ gr.addQuery('request', $sp.getParameter('request_id'));
5
+ gr.query();
6
+ while (gr.next()) {
7
+ collabs.push({
8
+ sys_id: gr.getUniqueValue(),
9
+ name: gr.collaborator.name.toString(),
10
+ status: gr.status.toString(),
11
+ comments: gr.comments.toString()
12
+ });
13
+ }
14
+ data.collaborators = collabs;
15
+})();
0 commit comments