Getting Loggedin user's manager and skip level manager's sysids via script include#1797
Closed
koratalas wants to merge 5 commits intoServiceNowDevProgram:mainfrom
koratalas:main
Closed
Getting Loggedin user's manager and skip level manager's sysids via script include#1797koratalas wants to merge 5 commits intoServiceNowDevProgram:mainfrom koratalas:main
koratalas wants to merge 5 commits intoServiceNowDevProgram:mainfrom
koratalas:main
Conversation
This code helps in retrieving all the form fields by getting all the elements on the form
Readme file describing the functionality of the script
This script include helps the developers to retrieve the manager and manager's manager sys_id so that they can utilize in their client script for further usage.
readme.md file helps the developers to understand the usage of the instructions and usage of the script
am-shakeel
reviewed
Oct 5, 2025
Contributor
am-shakeel
left a comment
There was a problem hiding this comment.
Thank you for your submission. However, it appears that this pull request is incomplete. It lacks Client Script and also which you have provided script is already exist in the Repo. Please review the Repo to avoid. Please complete your contribution by adding the necessary elements and resubmit or update this pull request for further review. Closing this for now. Once you make additional changes, feel free to re-open this Pull Request or create a new one.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Description:
This script include helps the developer in retrieving the sysids of the logged in user's manager and manager's manager when called via client script.
Pull Request Checklist
Overview
Code Quality
Repository Structure Compliance
Core ServiceNow APIs/Server-Side Components/Client-Side Components/Modern Development/Integration/Specialized Areas/Documentation
Restrictions