Workflow Restart after System Problem

Alon Raskin araskin at 3i-consulting.com
Tue Nov 29 06:15:56 EST 2005


Why not just force the status of the WF into ERROR (WORKITEM.SetStatus) and
then go to SWPR and restart them?
 
Alon Raskin
e:  <mailto:araskin at 3i-consulting.com> araskin at 3i-consulting.com
p: +1 207 409 4983 (please note new number)
f:  +61 3 8610 1239 
w:  <http://www.3i-consulting.com/> http://www.3i-consulting.com
 

  _____  

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
Gregory Utley
Sent: Monday, November 28, 2005 5:51 PM
To: SAP Workflow Users' Group
Subject: Workflow Restart after System Problem



All,

 

Over the weekend, we experienced tablespace errors during which several
workflows stopped running.  These workflows are not in error status - they
simply stopped with the last executed step in COMPLETED status without
triggering a subsequent step.  All lights are green - no messages.  The
tablespace problems were resolved; workflows in process before and after the
problem occurred are running normally or have completed successfully.

 

I've done as complete a search of the WUG archives as I can and have
unearthed one message that seems to precisely mimic the problem described
above (although it was posted a few years back).  After several responses
from different participants, Jocelyn finally recommended contacting OSS, so
I'm not optimistic that there is a quick solution to this one.  But again,
the message is dated, and we're now running the current version of SRM in
the portal.  There may now be more options.

 

I've tested all SAP_WAPI funmods that look appropriate (workitem execute,
resume, restart, etc.) but none will restart the workflows.  The common
complaint from the programs is that the last step that executed is COMPLETED
and not in ERROR status.  I've also tried transactions SWIA and SWPC to no
avail.

 

Back in the old days, we could execute SWP_WORKITEM_CALLBACK_REPEAT, reset
the callback flag, and the workflow would restart.  I have a note that
SAP_WAPI_ADM_WORKFLOW_RESUME replaces SWP_WORKITEM_CALLBACK_REPEAT in SRM,
but it doesn't appear to be as flexible in terms of resetting completion
status or in which step to affect the restart.  (Bear in mind that I need a
step-restart.  If I do a workflow restart, I lose all interim approvals.)

 

It's a dilemma.

 

Greg Utley

CiTR!X Systems, Inc.

SAP Development Team

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20051129/d45ac644/attachment.htm


More information about the SAP-WUG mailing list