GetCurrentApplication scope name in GlideSystem and usage of recursive function to get manager hierarchy#2326
Conversation
This folder contains the script to fetch the complete manager hierarchy of person.
Function to get the complete manager hierarchy
Updated Read.md file with examples.
Added initial read file
ravichandra1998g
left a comment
There was a problem hiding this comment.
Hello @sandeep-rajput-infobeans
Thank you for your efforts in submitting this PR
but this cannot be merged as we already have another background script in code snippets already to get list of managers. this will help keep the repository clean without any duplicate use cases
The getscopename method is available in the ServiceNow Docs.
Please note below points from contribution guidelines:
Expanded Snippets:
Code snippets reused from the ServiceNow Documentation or API References are acceptable only if they are expanded in a meaningful way (e.g., with additional context, documentation, or variations). Remember: "QUANTITY IS FUN, QUALITY IS KEY."
I would request you to submit PRs with more different use cases/context.
PR Description:
replace this with your description
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