Skip to Content
0
Former Member
Jul 22, 2010 at 05:52 PM

Deadline monitoring in ESS LEave workflow

47 Views

Hi Guys,

We are trying to implement ESS leave workflow. Below are my requirements.

1) Send to manager of th euser. Succesfully implemented this part by implementing BADI PT_GEN_REQ by coding in method IF_EX_PT_GEN_REQ~FIND_RESP_AND_DEFAULT_NEXT_PRC.

2) IF the leave is not actioned in 1 day, the work item should be deleted form the 1st agent and sent to the next agent.

I used Latest end for the deadline and Succesfully deleted the work item in the first agents inbox using Process Control.

My issue is when the work item gets routed to the next agent, i lose the instance of object REq in the workflow.

Also in the step 'REquest Approved?' i have configured the path 'Rejected' for all otehr values of REq.Status

i.e if REq. status is not posted, approved , error or withdrawn my workflow goes into the other values path and the workflow is getting completed.

How do i stop the workflow from going into the 'Other values' path of this step?

Please help, i am stuck and have absolutely no idea on how to proceed.