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 b654255 commit 4163b3dCopy full SHA for 4163b3d
Server-Side Components/Script Includes/Get loggedin user's manager and skip level manager's sysID/README.md
@@ -0,0 +1,12 @@
1
+**Script explanation :**
2
+When called via GlideAjax from a client script, it:
3
+
4
+1) Takes the user’s sys_id as a parameter (sysparm_user_sys_id).
5
+2) Queries the sys_user table for that record.
6
+3) Extracts:
7
+ The user’s direct manager (manager1)
8
+ The manager’s manager (manager2)
9
+4) Returns the results as a JSON string.
10
11
+**Usage of this script :**
12
+When the user wants to escalate they can utilize the manager or manager's sys_id depending upon their requirement.
0 commit comments