Workflow - restart after error
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.
Moderator message: please post in the correct forum from now on.
Edited by: Thomas Zloch on Jul 5, 2010 11:35 AM