Urgernt!!!! Problem with multi level approval leave request
I have created 2 level approval workflow for leave request.
1st approver - Manager
2nd Approver - HR
When manager approves request, i changes the status from Approved to sent using method initiate_state_transition. Its working fine. Then Leave request goes to HR . But problem is manager (1st approver) is also able to apporve leave request. This should not be the case. Next time only HR should able to approve the request.
So could you please give me solution.