How to restart lots of workflows in 'STARTED' status

Michael Pokraka workflow at quirky.me.uk
Thu Feb 3 05:39:52 EST 2005


Hi Ross, 
One option is usually to force the WF into error (SAP_WAPI_SET_ERROR), and
restart it from SWI2_DIAG. That's probably a bit tedious for hundreds of items.
I've never had success with SWPC, but it's also worth a try. 
Cheers
Mike

--- Ross.Cresdee at iag.com.au wrote:

> 
> **************************************************************************
> 
> 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