Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

replied

I never tried with a single task.

Did you try to select everything to see if your workflow appears?

Temporary should be fine, as anyway it is transformed into a true error at the end

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question