Restart of a workflow

Dart, Jocelyn jocelyn.dart at sap.com
Sun Mar 28 21:07:08 EST 2004


Thuan,
1) Restarting the workflow where it hit the ERROR status is standard.
 
2) Depends how you are doing it. Not enough info to comment.  Sounds like you want
specific exception handling, in which case workflow should end the step normally in case of failure, but detect the failure and redirect the work to a foreground step and apporpriate agent.
 
3) Whether or not the workflow goes into Error status depends on how you are
informing workflow about the error.  I suspect you are using CALL TRANSACTION USING rather
than a BAPI????
In which case you need to use the MESSAGES parameter to determine if there were
any errors and raise an appropriate workflow exception (a system or application exception of course).
Jocelyn
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of Thuan Thai
Sent: Saturday,27 March 2004 5:51 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Restart of a workflow
 
 
Hi All,
 
I'm starting to build a workflow for master data automation, and it seems
that there are some concerns.
 
(1) If an error occurs during any one of the steps, I need to be able to
restart the workflow from where it left off.  Is this doable using the same
workflow?
 
(2) All the steps are background steps.  Would it be possible to change the
mode to be in the foreground so that the user will be able to step through
the screens for troubleshooting purposes during reprocessing.
 
(3) It seems that if I handle exceptions thrown during step processing, it
does not put the Workflow into ERROR status and so can't be reprocessed.
How can I achieve this reprocessing of where the error occurred and continue
from there?
 
 
Thanks much!
 
Regards,
 
Thuan
 


More information about the SAP-WUG mailing list