Fetching Supervisor of an Org Unit
My scenario is,
I have an employee who belongs to an Org Unit. What we need to do is, get the approval of his direct supervisor and his manager (who is the supervisor of the direct supervisor). After getting this, I need to get the supervisor of new Org Unit. I have implemented a Loop which will get the supervisor of the a particular employee. When this continues, after fetching the manager of the current Org Unit, it fetches the HR Manager not going to the supervisor of new Org Unit.
Please suggest this could be acheived.