I have the following model for the following scenario,
- Employee submits a leave
- The leave goes to level 1 manager
- The manager approves/declines. Employee is notified in both cases. In the case of decline the employee is notified and process ends
- Else the leave goes to level 2 (manager of level 1 manager) if leave is approved by level 1 manager and employee is notified as well
- The second level manager approves/declines. Employee is notified and process ends.
Every day a notification should be sent to respective managers for leave requests that they have not processed.
I would like to simplify the above model if possible considering level 1 & level 2 manager process is similar. The manager id will be different in level 1 & level 2, which is the only difference.