Hey Workflow experts,
We have a scenario where a user will aplly for leave encashment from portal and for this I have configured the standard workflow 18900044 in the system.
I have also put in some validations in the implementation of BADI HRPBSIN_GET_LE_APPRV. In my scenarion there are supposed to be 2 levels of approvals i.e. from employee to his superior and then to HR.
I have added the triggering event to this workflow as Class - CL_HRPBSIN_HANDLE_LEREQ_WF and event CALL_WORKFLOW. I have also changed the task to General Task.
However, once i have executed the leave encashment scenarion on portal it does stop at the BADI (I have set a break-point there) but when i check in transaction SWI1 the workflow is not triggered. Is there something else i am supposed to do.
I would appreciate any help to this problem.