Skip to content

Commit 4163b3d

Browse files
authored
Create README.md
readme.md file helps the developers to understand the usage of the instructions and usage of the script
1 parent b654255 commit 4163b3d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)