on 2009 Jan 05 4:37 PM
Greetings,
After pass quality and DEV tests, my WF finally is in production today,
Some hours later, I Got this problem. The Spamming Workitens. SWWL found almost 60000 Workitens. I imagine that everyone in the company is receving the WI. (For a SD aproval).
My first tought is: General Task delivering WI for everyone after not acquiring proper responsibles.
The SBWP is very slow.
What should I do?
I already desactive the triggering events from WF.
Should I Delete Workitens in SWWL? How to re-execute the WI for it's proper responsible?
Hi Jose,
You can use FM SAP_WAPI_FORWARD_WORKITEM to forward workitems from one user to another.
Regards,
Saumya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem here was the event "Cancel and Restart Workflow".
I dont know how, but, allied with a data input (over 2000 Sales Order), my workflow reprocessed a lot of workitens, spamming it all over.
Problem solved.
Thx, for the help with handling the "Spamming Workitens", as the best solution was to transfer it to another user and reprocess it later. (Not delete it).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jose,
It could be because of setting as General Task. This has allowed any user to initiate the workflow. Hence this bulk of workitems are getting generated.
Try removing the general task settings and add specific agents (if possible) and test if the problem still persists.
Regards,
Saumya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok... lets return to the real problem... what may produced this flood of Work Itens? Only the General Task without proper responsible sets?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Ok... lets return to the real problem... what may produced this flood of Work Itens? Only the General Task without proper responsible sets?
OK, what exactly is the problem here, the 60000 or the fact that all users are receiving them? I was under the assumption that it was only the general task that was the problem.
If 60000 items is not what you were expecting, then we have two separate issues. In that case I don't agree with Saumya's suggestion that the general task setting would cause an excessive number. Making a task general will not prompt people to create that many items.
Perhaps if you would describe the WF a little - what triggers it, and how to the 60,000 relate?
Are they all for different documents -> OK
Are many workflows for the same document -> Trigger problem
Does the WF modify a document? Check the change log, make sure the WF isn't retriggering itself by updating the doc.
Cheers,
Mike
Sorry - already answered.
Edited by: Rick Bakker on Jan 5, 2009 10:12 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If they are general tasks then I would suggest forwarding them to an administrator using SWIA. At least they will be out of everyone's inbox while you investigate the problem.
Deleting via SWWL is not a good idea because then you will lose any associated info. Identify the problem and write a quick report to forward the items from the admin inbox to the correct recipients.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> If they are general tasks then I would suggest forwarding them to an administrator using SWIA. At least they will be out of everyone's inbox while you investigate the problem.
>
> Deleting via SWWL is not a good idea because then you will lose any associated info. Identify the problem and write a quick report to forward the items from the admin inbox to the correct recipients.
I think i's already to late. The WI was deleted via SWWL. There is a way to recover it?
If this administrator gets all 60000 WI, the SBWP wont crash? (Imagine Time Out Dump).
Basically how can I foward the items from admin inbox to correct recipients? Function Module?
>
> I think i's already to late. The WI was deleted via SWWL. There is a way to recover it?
>
> If this administrator gets all 60000 WI, the SBWP wont crash? (Imagine Time Out Dump).
>
> Basically how can I foward the items from admin inbox to correct recipients? Function Module?
No, and that's exactly why you shouldn't use SWWL in production - as stated in the online help. There is no log or trace and you can leave things inconsistent. Please check via SWI1 whether you deleted the entire workflow.
Concerning your second question, no the SPWP will handle it. Anyway, that wasn't the purpose, nobody is going to look at 60000 workitems. It was just somewhere to put them so that they aren't visible to everyone. You can then forward them in a report using FM SAP_WAPI_FORWARD_WORKITEM.
User | Count |
---|---|
69 | |
13 | |
11 | |
10 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.