Resolved! Regarding gs.getUser().getDepartmentID()
Thank you for your help. I am working on a requirement that when an unauthorized user logs into the service portal and opens my_request, only the records of the department to which he/she belongs should be displayed. We also need to determine if the ...