I want flexible structure for approving leaves for eg: if leave applied for less than 5 days leave should go to hr or project manager and more than 5 days it should go to hr,leave approver,director,etc for approval.
Is there anybody having solution on this?What would be the workflow how can we customize it?
Here’s a workflow example https://erpnext.org/docs/user/manual/en/setting-up/workflows
To implement your ‘number of days’ condition likely is a basic case to customize
https://erpnext.org/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples
thanks for the help.
i already made a workflow but not able to understand how it works with conditions?
thanks in advance
“i already made a workflow but not able to understand how it works with conditions?”
Yes for that customization you would need to study developer tutorials, docs and videos, and this forum is a Q & A gold mine that is easy to search for clues.
For that this is a good start Frappe Framework Tutorial