How to restart lots of workflows in 'STARTED' status

Rivera, Raul Raul.Rivera at absu.accenture.com
Thu Feb 3 23:39:03 EST 2005


Hello Ross,

A couple of months ago, we also had the same issue of restarting 'hanging'
workflows. Cause was that the Support Pack application impacted the SWWDHEX
monitoring job for missed deadlines.

With inputs from the gurus this list, we were able to scrape enough
information and write a custom program that restarts the 'hangs'. The 30k
feet level program description is:
Input: The parent WF IDs of hanging WFs and the WF Definition ID (e.g.
WS9xxxxxxx) 
The program gets the starting input parameters and restarts each of the WF
instances

We also have a separate program to delete the old WFs after they have been
successfully restarted. 

Let me know if this program will help with your specific issue.

Raul

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
Ross.Cresdee at iag.com.au
Sent: Wednesday, February 02, 2005 10:03 PM
To: sap-wug at mit.edu
Subject: How to restart lots of workflows in 'STARTED' status


**************************************************************************

Note: This e-mail is subject to the disclaimer contained at the bottom
of this message.

**************************************************************************
:
Hi People,

I hope you can give me a few clues.  We've got a situation where hundreds
of workflows have been in 'STARTED' status for over a week.  The workflows
had reached a task that paused for 10 seconds and there they waited.  Our
deadline monitoring job was not running while these hanging workflows
accumulated but the workflows did not take off once the job was restarted.
We've noted that we can force each workflow to manually complete but we
don't want to have to do this for hundreds of workflows one at a time.

Is there a way of restarting all these workflow that are in status
'STARTED' but are waiting for a time in the past ?

Thanks for any assistance.

Regards,  Ross.



:
****************************************************************************
****

The information transmitted in this message and attachments (if any)
is intended only for the person or entity to which it is addressed.  
The message may contain confidential and/or privileged material.  
Any review, retransmission, dissemination or other use of, or taking 
of any action in reliance upon this information, by persons or entities
other than the intended recipient is prohibited.  

If you have received this in error, please contact the sender and delete
this
e-mail and associated material from any computer.

The intended recipient of this e-mail may only use, reproduce, disclose or
distribute the information contained in this e-mail and any attached files,
with the permission of the sender.

This message has been scanned for viruses and cleared by MailMarshal.

********************************************************************
:
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug


More information about the SAP-WUG mailing list