SAP_WF: Customer Connection – Event Linkage setting
Here’s one of the items off my wishlist for the SAP Customer Connection that is in the collection phase right now.
To learn more about Customer Connections, you can visit Influence.sap.com and search for Workflow, or just click here.
How may times have you discovered that through some fluke – whether configuration or user action – a workflow may get triggered twice on the same object? Or, heaven forbid, many more than two times?
You can do your due diligence. You can implement a call to SAP_WAPI_WORKITEMS_TO_OBJECT in a Check Function Module and look to see if there are any workflows on this object. You can add steps in your workflow to look for other workflows. There are (clearly) a variety of ways to check this and stop it.
But suppose you were able to tick a box on the event linkage?
As a workflow developer or a workflow administrator, your life immediately became better. You would not have to clutter up your workflow with these tasks.
You would not have various check functions for various business objects all performing the same functionality. When you look at the event linkage (and let’s admit it, we all do) you would see, right there in plain sight, a setting that says something like ‘Prohibit multiple instances’ or maybe ‘Stoppen mehrere Instanzen’. 😉
I could probably not count the number of times I’ve been burned (usually in Development, thank goodness) by a workflow that accidentally gets triggered multiple times. I’ve even heard anecdotal stories of someone who accidentally triggered 10s of thousands of workflows – and yet the SAP system itself never even hiccupped.
But wow, it would sure be nice if all the current and future Workflow Developers and Administrators could count on such a setting, if that was their business requirement.
What do you think? And are you interested in joining the SAP Customer Connection for Workflow? Please do sign up if you’re interested!