cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow Restart Error from transaction SWPR

0 Kudos

Hi workflow Gurus,

I am facing problem restarting workflow from transaction SWPR. Instead of restarting workflow I am getting an error message as “unable to start subflow (ID: XYZ, node: abc)”.

How can I restart the workflow?

Regards,

Abhishek.

Accepted Solutions (1)

Accepted Solutions (1)

former_member239282
Active Participant
0 Kudos

The problem wad caused by mistake in workflow template WS75100021. After task 'Create test log' there is a loop. The end condition of the loop is 'test log is Submitted or Validated'. But the test log can have also status 'Closed' (The tester created the test log and close it immediately). It cause endless loop.

You can proceed following manual steps.

1. Go to transaction SWDD (Workflow Builder).

2. Open workflow template WS75100021.

3. Open loop number 000177

4. Change the condition this way

&FOPC_CASEL.STATUS& = IFO09 or

&FOPC_CASEL.STATUS& = IFO10 or

&FOPC_CASEL.STATUS& = IFO07

5. Activate the workflow template

      • if it helpful rewards points are appreciated

Answers (2)

Answers (2)

former_member239282
Active Participant
0 Kudos

Workflows in the status 'incorrect' can no longer be restarted using Transaction SWPR (Workflow Restart After Error).

This problems that occur when you restart workflows containing work items that have already been subordinated, and for which there are entries in the database table SWP_SUSPEN, where the two fields WF_ID (ID of the workflow work item) and WI_ID are identical.

Check your SAP_BASIS support level, if the case try to implement the latest level.

0 Kudos

Hi Gurus,

After diagnosing the workflow, message appears as “error during result processing of the work item ‘xyz’ maximum number of 10000 nodes reached.

Any solution for this message? Is 10000 nodes is max number of node a workflow and process.

Regards,

Abhishek.

martin_nooteboom
Active Contributor
0 Kudos

Hi Abhishek,

Yes in your system it is (as in most as it is the default number). This number is set in customizing for workflow. But if your workflow reached 10000 nodes it is either a very big one with a lot of steps, or there is another problem in the workflow (maybe an endless loop?)

Regards,

Martin

KKilhavn
Active Contributor
0 Kudos

Sometimes it is not possible to restart the workflows. What is the error that you have in your workflow? And as always: what release are you using?