Frappe Workflow

Hi Everyone!!

I’ve created a multi-level workflow for Leave Application in Frappe.
The expected flow is:

Employee → Manager Approval → HR Approval

However, I’m facing an issue where Leave Applications are visible to the HR even before the Manager approves them.
I want the HR to see the Leave Application only after it is approved by the Manager.

What is the correct way to restrict this behaviour in Frappe?
Is there any specific permission or workflow configuration required so that the HR cannot view the leave request until the Manager approves it?

@Kiranmai_M

Please apply User Permissions for HR manager for workflow states is the solution.

1 Like

@ahsantareen Yeah, this is working.

But, some employees have the HR Manager set as their reporting manager. In those cases, the same HR Manager appears at both the Manager level and the HR level, so this doesn’t work correctly.