hi Ladi Tanooja,
use microflow and check the leaves applied, have a condition based on your requirement based on the total leaves show the desired role page
Hi,
I do have some feedback/ remarks on your domain model.
Some questions;
Your current domain model isn’t supporting this.
So I would change it as follows
This would lead to this domain model where:
When a leave request is filed, the association LeaveRequest_Employee_Requester can be set to the employee which is filing the request.
On submit of the LeaveRequest, you can determine based on start & end date, how many days are requested. If > 2, the set association LeaveRequest_Employee_Approver to the employee which is HOD of the department the team of the employee belong to. Otherwise set association to employee which is the manager of the employees team.