Attendanced Calculation

If an Employee takes unapproved leave for half day or full day and its previous day was holiday or weekend then including previous day weekend or holiday, all the days till the employee joins office again are treated as Absent.

How it is Possible in RPA…