cancel
Showing results for 
Search instead for 
Did you mean: 

Urgernt!!!! Problem with multi level approval leave request

former_member217000
Active Participant
0 Kudos

Hi Experts,

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.

Thanks

Sameer

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member184504
Participant
0 Kudos

Hi Sameer,

I want to know that the method initiate_state_transition is there in which class.

Even I have to implement the code to change the status of the approval from approved to send

but I am not getting the method name in which I should write the code.

Class CL_PT_REQ_WF_ATTRIBS does not have the method named initiate_state_transition

that you have mentioned in your post.

Please help


Former Member
0 Kudos

check the workflow task you are using.

after that include the task in XML file and upload the new XML configuration file in UWL.

Regards

Vijay

former_member217000
Active Participant
0 Kudos

Hi Experts,

Please reply....

Edited by: sameer dhuke on Sep 26, 2008 10:15 AM