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

Leave request workflow

Former Member
0 Likes
2,413

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

Accepted Solutions (1)

Accepted Solutions (1)

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

Answers (4)

Answers (4)

gaurang_gujar
Contributor
0 Likes

Hello Jeena,

Please check the transaction code PTARQ .Here you can simulate and check the neccessary customiziation for leave.All leave request need not go through workflow.Some VIP may have have auto approve kind of an option.

Regards,

Gaurang

Former Member
0 Likes

Thank you Gujar,

   If it is not going through the workflow, could you please tell me the process. How it will  be?

But the this is that I'm getting workitem in MSS POWL and I could execute it, corresponding tables are getting updated in database.

Is there any other option to process this leave request?

waiting for your early reply.

Regards,

Jeena George

gaurang_gujar
Contributor
0 Likes

Hello Jeena,

I hope you have checked transaction SWI5 also would request you to help us with the screenshot of the workitem.

Regards,

Gaurang

Former Member
0 Likes

Hello,

After you create a leave request, go to SWI1 and look at everything created in the last 5 minutes. It will be there. It could be someone else has already customized the workflow and it no has another number.

regards

Rick Bakker

Former Member
0 Likes

Hi,

Checked all the things suggested. But no log

Is there any configuration check for displaying log for a particular workflow?

Thanks,

Jeena George

ronen_weisz
Active Contributor
0 Likes

check transaction SWELS that there is no restriction on the event log and that it is active.

if the approval process is working fine check in SWI5 of the active workitems for the user who is the leave approver.

anjan_paul
Active Contributor
0 Likes

Hi,

   Are you able to find anything in SWI1.

If anything not found then, my suggestion is to recheck the client (like 100 , 101 etc ) which is link with the portal