Expense approval workflow
Summary:
To configure the Expense approval workflow, we are facing challenge to create approval hierarchy.
Below is an Example:
1. Fist level: - Request will submit the Expense report, based on requested the immediate manager will approve the expense report. This is achieved using supervisor hierarchy Condition is as below. HierarchyBuilder.getManager("supervisory",Task.Workflow Submitter,-1,"","") HierarchyBuilder.getPrincipal("FINUSER30",-1,"","")
2. Second level: - Based the requester/Immediate supervisor we need to get VP position (Vice president approval)
Example: Grade 1 Non-Executive Grade 2 Executive Grade 3 Managers Grade 4 Directors Grade 5 CEO
If Grade 1 employees are reporting to either Grade 2 or Grade 3, their expense approvals cannot be his line manager but a Director in Grade 4 instead. Likewise for Grade 2 employees if their line manager is in Grade 3.