ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Setting up leave approver using workflow


#1

Hi There,
I have created a new workflow for leave application named Leave_Management.
In the workflow what I have done is that First The Employee Applies For a Leave
Then the Leave application gets forward to HR Manager and After getting pending action by HR Manager it gets forward to Leave approver for all employee. It’s working properly but on top of the leave application is shows "submit the document to confirm "
Can u please provide me a feedback how i can achieve this without message.
I am attaching my workflow which i have created and message page.

leave application message


#2

Doc Status of final approval must be 1 and rejection must be 2,
1 means submit & 2 means cancel.
& Put the rejected in the last, means at row number 4,
Or you Can skip cancellation if you don’t want.


#3

@shahid I changed the Doc Status but still problem not solved . can you explain me with workflow screenshot that it is more understandable :sweat_smile:


#4

Is this document submittable ? Check it


#5

no…its show me still that leave application message. But workflow is submitted after the changes suggested by @shahid


#6

did you create this document or was provided by ERPNext ?


#7

Yes… I created the document


#8

Click on edit doctype and check what is the value of Is Submittable

image


#9

@root13F he is talking about Leave Application Workflow,
@Nehar
Below is the screenshot of my Leave Application’s Workflow,

Also please read this,
https://erpnext.org/docs/user/manual/en/setting-up/workflows
hope this will help you to understand the process of workflow,


Unable to acheive results from Leave Approval Workflow
#10

Hello @root13F

How to create a new leave approver in erpnext V11