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.

Request: Guidance on Building a Leave Management Application in ServiceNow

Anirudh13
Tera Contributor

I’m interested in building a sample Leave Management application using ServiceNow’s App Engine Studio (or Studio IDE) and would love your guidance or examples! using #BuildWithBuildAgent 

Goal:
Create an application where employees can submit leave requests and managers can approve or reject them. I’d like the solution to follow best practices for ServiceNow app development and, if possible, leverage any AI or BuildAgent features available in the IDE.

Requirements:

  • Employee Leave Request Form:
    • Fields: Employee Name, Leave Type, Start Date, End Date, Reason for Leave.
  • Leave Requests Table:
    • Store all submitted requests with status (Pending, Approved, Rejected).
  • Manager Approval Workflow:
    • Automatically route new requests to the employee’s manager for approval.
    • Allow managers to approve or reject with comments.
    • Send notifications to employees on status changes.
  • (Optional) Leave Balance Tracking:
    • Track and display remaining leave days for each employee.

Specific Questions:

  1. Are there any sample applications or templates for leave management already available?
  2. What’s the best way to automate the approval workflow in ServiceNow IDE?
  3. Can the BuildAgent or AI assistant generate sample scripts, forms, or tables for this use case?
  4. Any tips for integrating notifications and tracking leave balances efficiently?

What I’ve Tried So Far:
I’ve explored App Engine Studio and started creating the basic table and form, but I’m not sure about the best practices for workflow automation and notifications.

Request:
If you have sample code, step-by-step guides, or can point me to relevant documentation or community threads, I’d greatly appreciate it!
Happy to collaborate or share my progress with anyone interested.

Thank you in advance for your support and insights!

Best regards,
Anirudh.

1 REPLY 1

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Anirudh13 

 

Put this in Build Agent

 

Requirements:

  • Employee Leave Request Form:
    • Fields: Employee Name, Leave Type, Start Date, End Date, Reason for Leave.
  • Leave Requests Table:
    • Store all submitted requests with status (Pending, Approved, Rejected).
  • Manager Approval Workflow:
    • Automatically route new requests to the employee’s manager for approval.
    • Allow managers to approve or reject with comments.
    • Send notifications to employees on status changes.
  • (Optional) Leave Balance Tracking:
  •  
  • Can the BuildAgent or AI assistant generate sample scripts, forms, or tables for this use case?
  • Atul: Yes.
  •  
  •  
*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************