Notes
Create an Object with the name Leave Application
Fields:
ID (Standard | Auto Number)
Start Date (Date)
End Date (Date)
Leave Type (Picklist)
- Sick Leave
- Casual Leave
- Paid Leave
Status (Picklist)
- Pending
- Rejected
- Approved
When a user asks for a leave it needs to be approved by his/her manager.
If the manager approves it, then Status will be Approved
- An email should be sent to User and Manager (Create an appropriate email template by using Lightning Email Templates)
If the manager rejects it, then Status will be Rejected.
- An email should be sent to User and Manager (Create an appropriate email template by using Lightning Email Templates)
If the manager sends it for a review (Recall), then Status will be Pending
- An email should be sent to User and Manager (Create an appropriate email template by using Lightning Email Templates)