Skip to Content
author's profile photo Former Member
Former Member

Workflow - restart after error

Hi,

I have created a Object method to change Requistion in background and using it in Workflow task. The method has an Temporary error to ensure Restart the WF after Error. So when a user is in PR change mode (ME52N), the WF Task status shows "In Processing".

We have scheduled the Program RSWWERRE, which picks up the workitem and restarts the Task. After 3 execution of this program RSWWERRE, the status changes from "In Process" to "Error" (Since the user still blocks the PR from ME52N).

Eventhough the status is "Error", I am not able to see workitem from SWPR. Further RSWWERRE execution doesn't pick up this work item. I could see the error workitem, if I execute SWI2_DIAG. Restart Workflow option in SWI2_DIAG, triggers the work item but doesn't process / changes the document (PR is not blocked now) or changes the WF status.

Error Analysis in SWI2_DIAG shows "Work Item Set to Error following 03 failed attempts"

I would appreciate any suggestions on How to restart the error Workflow.

Thanks,

Sakthi

Moderator message: please post in the correct forum from now on.

Edited by: Thomas Zloch on Jul 5, 2010 11:35 AM

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jul 02, 2010 at 09:00 PM

    In SWPR, you must enter the workitem number corresponding to the main workflow (initial workitem), you must NOT enter the workitem where the error occurred. Be careful with the date, it must correspond to the the start date of the workflow.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 02, 2010 at 02:14 PM

    Any suggestions!!

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.