You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Line manager cannot view pending workers

When we are assigning View Manager Hierarchy security profile to the line manager role, the line managers cannot view the pending workers from the quick action "pending worker". Oracle suggested to create a custom security profile in which we use a custom criteria to restrict line managers to view only direct reports and pending worker but this is not working as expected. Below is the custom criteria we used. Please share your thoughts/suggestions to achieve this requirement.

EXISTS ((SELECT 1 FROM PER_ALL_ASSIGNMENTS_M A WHERE A.ASSIGNMENT_TYPE IN ('E','C','N','P','O') AND A.EFFECTIVE_LATEST_CHANGE='Y' AND TRUNC(SYSDATE) BETWEEN LEAST(TRUNC(SYSDATE),A.EFFECTIVE_START_DATE) AND A.EFFECTIVE_END_DATE AND A.PERSON_ID=&TABLE_ALIAS.PERSON_ID AND ( A.PERSON_ID <> (SELECT NVL(HRC_SESSION_UTIL.GET_USER_PERSONID,-1) FROM DUAL) AND (( A.ASSIGNMENT_ID IS NOT NULL AND EXISTS (SELECT 1 FROM PER_MANAGER_HRCHY_DN MH WHERE MH.PERSON_ID=A.PERSON_ID AND TRUNC(GREATEST(SYSDATE,A.EFFECTIVE_START_DATE)) BETWEEN MH.EFFECTIVE_START_DATE AND MH.EFFECTIVE_END_DATE AND MH.MANAGER_ID = (SELECT NVL(HRC_SESSION_UTIL.GET_USER_PERSONID,-1) FROM DUAL) AND MH.MANAGER_TYPE = 'LINE_MANAGER' ) )))))

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!