Skip to Content
0

SAP Workflow Re-generation/Re-activation

Dec 12, 2017 at 07:43 PM

51

avatar image

We are implementing support packs, as part of the process we have identified by implementing this suport pack one of the workflow is going in multiple loop, so a correction has been attached tested and all good, the support pack and the code has been moved to the production, its working good but issue is there are existing workflow who are in process got impacted by this support pack, and the apporvals went into infinite loops, now what is the best can be done here? we have 1000 workflow tasks are in infinite loop is there away to fix it or do we need to kill all of them?

10 |10000 characters needed characters left characters exceeded

Hi,

You can also check the any configuration or customizing TR need to move or not.

Thanks

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Stéphane Bailleul Dec 12, 2017 at 08:52 PM
0

Hi

I would think that you'll need to kill them, anyway if there are in infinite loop you need to finish them or at one point (10.000 loop) they will die.

So you'd better handle them yourself and start the new version, you could even prepare a report to do that by checking all the workflow which are still running with the old version getting the object stopping the old workflow and starting the the new one.

Cheers

Stephane

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Thank you very much, infinite loop means ...Like its keep going to the approval, App1 then after that App2,App3...Then again it is coming back to App1. Like this approval part is never ending so the task is never getting done, killing all of them at once how to do that? any further thoughts welcome, thanks.

0

You can use transaction SWWL to logically delete the workitems, but I'd be very careful doing this. Make sure you have identified only the ones that need to be killed. I also recommend planning with the business owners for if/how the objects in these workflows get handled after the workflow deletion.

Good luck,

Sue

1
Anjan Paul Dec 13, 2017 at 07:28 AM
0

Hi,

You can also check the any configuration or customizing TR need to move or not.

Thanks

Show 1 Share
10 |10000 characters needed characters left characters exceeded

So we can see the changes implemented properly the issue here is, the new workflows are running as expected, but the workflows that are trigerred before the support packs are having issue, when analyzed further, its been identified that the old workflows are running in version 10, and new workflows are running in version 11. So the change applied is only available in version 11, not in version 10. this causing the loop of approvals.

0