cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Leave request workflow

Former Member
0 Likes
2,420

Hi Experts,

I am creating leave request in portal. Approval process and everything is working fine(the workflow may be WS12300111). But when I checked in log I couldn't find a log for the same. When I created travel request it is coming in log.

I used SWI2_FREQ, SWEL, SWI1,SWIA tcodes for checking log but except leave request all the triggered workflow logs are coming.Leave request process is working fine.

Suggest me a solution how to get the log. Because I need to customize the workflow.

Thanks in advance.

Jeena George

View Entire Topic
Former Member
0 Likes

Hi

the header table for leave request is PTREQ_HEADER. check whether this table is getting updated with status SENT when you create a leave request. There is a field in this table WORKITWMID which will give you the leave workflow instance number, check if it exists.

regards

ibrahim

Former Member
0 Likes

Hi  Ansari,

No workitem ID I could find in the table. That  means no workflow is triggering? If it is the case how the workitem is going for approval?

Waiting for your valuable reply.

Thanks,

Jeena George

Former Member
0 Likes

You are able to see approval item in universal worklust UWL or MSS-> POWL ?

Former Member
0 Likes

Yes. And I could process and the data are getting updated in database also.

Former Member
0 Likes

Hi...

it did not answer my question. If you are processing all your leave requests from portal mss powl and not from uwl that means you have not configured workflow for leave !!!

Instead a query has been created for displaying leave requests in mss powl.

Check Customizing button in PTARQ transaction where leave workflow template is maintained which gets triggered whe leave request is created and sends workitem in portal uwl.

Approval items apearing in mss powl doesnt mean a workflow log wil exist. Uwl and powl are two different concepts.

I think in your case there is no any workflow template maintained in customizing.

Regards

ibrahim

Former Member
0 Likes


Hi,

I will explain my whole scenario.

I need to customize the standard workflow for my leave request. Currently some workflow is running,( I donno whether something is running or not) and I'm unable to find out the current one since I do not see the log anywhere.

So I copied the Ws12300111 workflow and I added my own task to the workflow and I assigned that to a leave type in PTARQ,created a leave request in ESS. Even after doing these things I'm unable to find a log in system.

  Since I'm new to workflow please guide me to achieve this.

Best Regards,

Jeena George.

Former Member
0 Likes

Have you defined your custom leave workflow as a 'General task'?

Share the atep by step screenshots of config. You have done for your workflow.

regards

ibrahim

Former Member
0 Likes

How to make a workflow as general task. I made only the workitem sending task as general task.

Former Member
0 Likes

Open your workflow in PFTC transaction and follow similar steps which you do for making task as general task.

Former Member
0 Likes

Could you please tell me the process.

I used to make general task is in agent assignment. But for a workflow how it can be done.

Former Member
0 Likes

You can got to Basic data setting (hat symbol) at top in SWDD. There will be one yellow icon for agent assignment. There also you can mark the workflow template as general task.

After making it general task dont forget to refresh the buffer using transaction SWU_OBUF.

Regards,

Ibrahim

Former Member
0 Likes

I made it as general. Now it is working.

Thank you.

Regards,

Jeena George

Former Member
0 Likes

So it means till now your leave workflows were not getting triggered. you were approving leaves from MSS POWL independent of workflow.

Good to hear your issue got resolved

Former Member
0 Likes

Thank you .:)

One more doubt. How to set expiry date for a workitem?

If the person is not executing the workitem for more than 3 days it should go to the next level.

Regards,

Jeena George

Former Member
0 Likes

You can achieve this by latest end deadline monitoring for your approval task.

regards

ibrahim