Get manager hierarchy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2022 12:46 AM
Hello All,
I stuck on below issue:
We have a Manager and Rank field on a user table. Rank is a numeric. We need to get a manager or managers manager whose Rank is 11 the dot walk can be at any level.
example my Manager is Rakesh who has Rank 2, Rakesh's Manager is Pratik who has Rank 9, Pratik has Manager Ratan who has Rank 11 need to get Ratans email as he had Rank 11. This walk can go to any number. So can anyone please help us with the possible solution.
Thank you !!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2022 12:57 AM
Hi here is similar answer
https://community.servicenow.com/community?id=community_question&sys_id=7608836ddb1cdbc01dcaf3231f9619f1
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2022 01:12 AM
Hi
You can use this script to get the manager's hierarchy:
https://community.servicenow.com/community?id=community_blog&sys_id=82a127311bd24d10d018c8ca234bcb36
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep