Please guide me how to create workflow for below mentioned scenario:
- Reliever: In my organization, for applying leave, employee needs to get approval from his/her reliever first.
- Head of Department: After approval from reliever, leave goes to head of department for approval.
- Leave In-charge: After approval from Head of Department, leave goes finally to leave in-charge. He is the final authority to approve it.
- Inform HOD and Department Clerk: After final approval and submission of leave application, a notification and email must be sent to department head and clerk to inform them.
Points to note:
- Reliever will be selected by leave applicant. For that, I think we can use custom field in leave application form.
- Head of Department will be dynamic. Depends upon the department of applicant.
2.a) If there is no head of department, skip this level.
2.b) If applicant himself/herself is head of department, then also skip this level.
- Reliever and applicant can’t take overlapping leaves (means their leave dates should not overlap).
Kindly suggest, how this can be implemented in ERPNext.
Thanks in advance!