- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2019 01:25 AM
Dear All,
How to get How to get Manager of Manager's Manager of User as default value?
Please help me. Thank you in advance
Solved! Go to Solution.
- Labels:
-
Field Service Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2019 12:34 PM
You can get like this.
gs.getUser().getUserByID(gs.getUser().getUserByID(gs.getUser().getManagerID()).getManagerID()).getManagerID()
Kindly mark the comment as a correct answer and also helpful once worked.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2019 12:41 PM
Hello Suresh,
You will need to keep nesting further and further into the User. It will look very confusing very quickly, but should be
gs.getUser().getUserByID(gs.getUser().getUserByID(gs.getUser().getManagerID()).getManagerID()).getManagerID()
Where you will be adding
gs.getUser().getUserByID
inside of the getUserByID.
I hope this helps explain it!
If this solved your problem, please mark as correct or helpful.
Thank you,
Cody Smith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2020 12:38 PM
Thats awesome!
Could you mark my answer correct if it helped you?
Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2020 08:00 PM
Hi,
Glad it helped. If my comment has helped you to achieve your requirement, would suggest you to mark it as correct answer so that the question is moved to the solved list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2019 05:31 PM
Hi,
Refer the below link
mark correct/helpful if it helps for you
Regards,
Pooja
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2020 06:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2020 12:38 PM
Thats awesome!
Could you mark my answer correct if it helped you?
Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2020 08:00 PM
Hi,
Glad it helped. If my comment has helped you to achieve your requirement, would suggest you to mark it as correct answer so that the question is moved to the solved list.