Skip to Content
0
Jan 26, 2015 at 06:30 AM

Leave request - Custom Workflow and Custom Class

138 Views

Dear Expert,

My requirement to extended level of approval for different leave types.

So I have copied standard WF WS12300111 and Create custom WF and assigned the same in PTARQ configuration.

To do this even I have copied standard class CL_PT_REQ_WF_ATTRIBS and change in WF container and added my logic in Class.

Now when I trigger WF, Container Value for Req(which is of type ref 'Z'CL_PT_REQ_WF_ATTRIBS) is not getting populated and Workflow is going to error status because of Req.status is not getting value for initial step.

Do we need to pass 'Z'CL_PT_REQ_WF_ATTRIBS also any where to trigger or get populated in Workflow container?

Regards,

Shaik Farooq