cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to delete bpm workflow items using SWWL

HarshC
Active Participant
0 Kudos

Hi All,

I'm trying to delete workflow items of a BPM that is stuck. I'm using SWWL for this.

However, I get the following error:

Work item 000000002255 locked by user WF-BATCH.

(enqueue error)

How do I delete this locked work item??

I'm suspect that this is causing all my other BPM's to get stuck waiting forever. These other BPM's were working correctly earlier.

Thanks!

Harsh

Accepted Solutions (1)

Accepted Solutions (1)

SudhirT
Active Contributor
0 Kudos

Hi Harsh,

You can also goto SM12 and enter the user as WF-BATCH you'll find the locked entries against this user, simply you can delete them and then you'll be able to delete from SWWL.

Thanks!

prateek
Active Contributor
0 Kudos

Dont delete the user. Check for sm12 and sm50 instead for checking the status.

Regards,

Prateek

Answers (3)

Answers (3)

HarshC
Active Participant
0 Kudos

Thanks for your help guys. I was able to use SM12 to delete the locks. I'm not sure if that's a good idea though?

I agree deleting the batch user using sm04 is definitely a bad idea!

Thanks for your help,

Harsh

dharamveer_gaur2
Active Contributor
0 Kudos

Hi

Go to SM04 and delete the user to free the process then delete from the tcode.

Also recommend you put deadline branch in BPM.

see also this blog:

Former Member
0 Kudos

HI,

Try completing it manually from SWIA. also check for SM58 (enter WF-batch for user in selection screen) and complete the LUW manually.

alwo try SAP_WAPI_Workflow_resume or resume_workflow. pass the instance id of workflow (not workitem)

Regds,

Nilesh