Get Started with Redwood for Oracle Cloud HCM Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
Approval Hierarchy - top approver by role
Content
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.
Tagged:
1