Your UX is waiting ...interact, engage, explore in Las Vegas at CloudWorld 2023

Learn more
Approval Hierarchy - top approver by role — Cloud Customer Connect
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

Approval Hierarchy - top approver by role

Received Response
edited Jan 31, 2018 11:41AM in Human Resources 5 comments


We would need to create approvals based on manager hierarchy where the top approver is is the CEO.  The solution often provided is to put

Top participant = HierarchyBuilder.getPrincipal("corp",-1,"","")

Since this means the username of the CEO is hardcoded we would need to replace it by an argument that is less change-prone.

We were thinking of giving the CEO a certain "dummy" role and then get the CEO in the various approvals by searching for a user with this role.  This would keep the CEO-change limited to assigning the role as opposed to changing all the approval rules.

Howdy, Stranger!

Log In

To view full details, sign in.


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