Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Upender Kumar
Mega Sage

ServiceNow leave absence does not provide many facilities like Holiday validation, leave policies etc.

I have created a scoped application which provide many features:

  1. Location wise leaves: There are different leave types for different countries/states. So, leaves can be configured location wise.
  2. Leave configuration: This allows admin to define leave configuration like:
  3. Type: Monthly/Quarterly. Based on the selection leaves will be added to the user account.
  4. Applied Before allows admin to configure how many days before a leave should be applied (i.e. Earned/planned Leaves should be applied before 3 days).
  5. Include Holidays (True/false): Some leave types are including holidays like Leave without pay (LWP).
  6. Half Day: Allows to configure a leave can be taken as half day.
  7. Schedule Configuration/Holidays: Leave are configured based on schedules including the holiday list.
  8. Different color coding for different leave status on calendar (i.e. approved, pending, holiday and weekends)find_real_file.png
  9. Leave Details: User can see all his leave details on the page.find_real_file.png
  10. Graphical consumed leaves.find_real_file.png
  11. Annual Holidays: Holidays list will be displayed based on the scheduled holidays.find_real_file.png
  12. Upcoming holidays: User can see the next upcoming holiday blinking on the page.find_real_file.png
  13. If teammates are on holidays on the selected dates, user can see those teammates.find_real_file.png
  14. User can also see his teammates leave requests by clicking the header button.find_real_file.png
  15. The manager can apply leaves for his teammates.find_real_file.png
  16. The manager can approve/reject multiple requests at once.find_real_file.png
  17. Manager view for team leaves.
  18. Notification on leave request creation and approval/rejection.find_real_file.pngfind_real_file.png

Validations:

  1. Validate Configuration: If leave is not configured for the user he will not be able to access the leaves.find_real_file.png
  2. Disable dates before DOJ/User created date: User will not be allowed to select dates before his joining date.find_real_file.png
  3. Disable applied leaves: User will not be able to select the already applied dates.
  4. Start date and End Date validation.
  5. Check for leave policies. find_real_file.png
  6. Balance leaves validation before applying for the leave.find_real_file.png

           find_real_file.png

 

 

Comments
S Khan
Kilo Contributor

I need calendar control similar to this.

Upender Kumar
Mega Sage

I will try to create a article on it

aakritisamyal
Tera Explorer

Can you please share the update set for this.

Thanks

Upender Kumar
Mega Sage

I lost that PDI instance and update set also 😭

Version history
Last update:
‎08-21-2022 03:55 AM
Updated by: