Hi, SAP Workflow gurus,
I'm a newbie in SAP Workflow world and I have a question regarding to best practices WF-building.
There are at least two main approaches to build workflow:
— unit-driven: to put all WF-units into one WF according to the process logic by using of activities, forks, user decision, blocks etc.;
— event-driven: to build main WF which triggers events for local WF, where the process implementation executes.
The second approach allows to us to build a clean & easy-to-read main WF and to put all of implementation into a local WF. This way to build WF looks especially attractive for WF with a lot of similar steps, executed by the different agents. In this case local WF looks like a function in terms of programming.
My question is how the second approach (event-driven/based) is suitable and is there any cases, where we should avoid to build WF with a lot of events, instead of use of straightforward way to build a WF. May be, performance or maintainability issues?
Thanks.