hello every one ,
I had a requrement in ESS leave request, for which i am using Z workflow template which is the copy of stanard template WS12300111 to AUTO APPROVE the request after 7 days if the respective manager is not present. For now I have created a deadline using Latest END and using the method 'APPROVE' in class 'CL_REQ_PT_ATTRIBUTES' for auto approval process.
by using same 'aaprove' method for auto approver , when i was testing from portal side it was not working .
leave request is working properly approve and rejection , the problem is auto approval is not working.