cancel
Showing results for 
Search instead for 
Did you mean: 

workflow-hr issue

Former Member
0 Kudos

Hi experts,

I am new to workflow.i recived one ticket for workflow.Delete open tasks from unversal worklist for employee XXXXX.

what i need to do here..

Please help me on this..

Thanks in advance..

Accepted Solutions (1)

Accepted Solutions (1)

saumya_govil
Active Contributor
0 Kudos

Hi Satyapal,

You can also do the following. Get the worklist for a user using FM SAP_WAPI_CREATE_WORKLIST and then forward it to a system user ID using FM SAP_WAPI_FORWARD_WORKITEM.

By this way you would retain the workitems for future referance.

Regards,

Saumya

Former Member
0 Kudos

Thank you

Answers (1)

Answers (1)

bpawanchand
Active Contributor
0 Kudos
Delete open tasks from unversal worklist for employee XXXXX.

I think you might be looking for , the set of workitems that have not been executed for a certain amoutn of time. and you want to remove al these workitems from the UWL. If this is the case then what you can do is

1. You can get all teh workitems with respect to a specific user by using the Fm SAP_WAPI_CREATE_WORKLIST.

2. Once you get the respective workitems then make use of the FM SAP_WAPI_SET_WORKITE_STATUS and set the workitem to Logically Delete but not Deleted.

Since in teh Logically deleted atleast you can have the log details about the workitem...