Workflow Restart after System Problem

Gregory Utley Gregory.Utley at citrix.com
Mon Nov 28 17:50:42 EST 2005


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/20051128/0b821fb6/attachment.htm


More information about the SAP-WUG mailing list