Deleting workflow instances on production

Dart, Jocelyn jocelyn.dart at sap.com
Sun Dec 7 18:03:02 EST 2003


Hi Fred,
Better to write a program to logically delete the offending workflows via the top workflow instance id en masse and then archive them. If you just delete using SWWL there is a significant risk of orphaned work items as the deletion program doesn't check that you have cleanly removed all work items related to a particular workflow instance.
 
If you don't have a WAPI for this in your release (i.e. if you are in a non-WAS system) use function module
SWW_WI_ADMIN_CANCEL to logically delete the top workflow instance work items once you have identified them.
 
Regards,
        Jocelyn Dart
Consultant (SRM, EBP, Workflow)
and co-author of the book
"Practical Workflow for SAP"
SAP Australia
email: jocelyn.dart at sap.com
phone: +61 412 390 267
fax:   +61 2 9935 4880
 
 
 
 
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of Kouw, FA - SPLTX
Sent: Friday,5 December 2003 11:09 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Deleting workflow instances on production
 
 
Hello,
 
I know I can delete work items using tx SWWL. I also know it is not
advised to do this in a production client. But we have a situation in
which many (thousands of) workflow instances have been started, which
shouldn't have been started (a job has run which has created change
documents for which a workflow is triggered, we didn't think of this in
advance).
 
My question is: what is the right strategy to delete these workflow
instances? Just running SWWL for the complete selection? Delete them
group by group? I'm not sure how long it will take to delete them and
the problems this can cause. All advise is welcome!
 
Regards,
 
Fred Kouw
 
 
**********************************************************************
This e-mail and any attachment may contain confidential and privileged
material intended for the addressee only. If you are not the addressee, you
are notified that no part of the e-mail or any attachment may be disclosed,
copied or distributed, and that any other action related to this e-mail or
attachment is strictly prohibited, and may be unlawful. If you have received
this e-mail by error, please notify the sender immediately by return e-mail,
and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its
subsidiaries and/or its employees shall not be liable for the incorrect or
incomplete transmission of this e-mail or any attachments, nor responsible
for any delay in receipt.
**********************************************************************
 
_____________________________________________________________________________________________
This outbound message from KPN has been checked for all known viruses by KPN IV-Scan, powered by MessageLabs.
For further information visit: http://www.veiliginternet.nl
_____________________________________________________________________________________________
 


More information about the SAP-WUG mailing list