Does anyone have advice on how to model the fact that only one of two clusters is available AND required for a system function?
In the case I am modeling, only one of the data clusters is given as input to the process. I would like to not have to duplicate occurances of a system function to express that one or the other cluster was provided to the process.
The image below is mocked up. i.e. the entire method filter does not allow connections between a data cluster and an XOR. However, this expresses what I want. i.e. Which ever cluster that was fed to the process will be used by the system function.
Hi,
I would vote for two uniquely named System Functions. Typically, the logic applied in David's example goes something like this: "It's exactly the same function, it just uses different data." The problem here is that you can't use the words "same" and "different" in the same sentence. If you do, essentially what you're saying is that it's "exactly the same....except for where it isn't." IMHO, in order to re-use a function object all objects allocated to the function (e.g. objects that would be on a FAD), have to be the same. So, if it's the same system, using the same data, stored in the same datastore, using the same transaction code, with the same avg. processing time, the same KPI, in the same location, etc. then you can re-use it. If all these things are NOT the same, then it's simply different and should be so indicated. Probably more relevent when using Simulation and or creating test cases. Just my opinion, of course.
Best Regards,
Bob
Thanks for the advice Ivo and Robert. In the case I am working on, only one or the other cluster will be present. (There is no chance that none or both will arrive as input.) The clusters represent an input to start a process, input to a Web Service. The process isn't waiting.
Thanks for your example Ivo, I have used your example in the model. I like the notion of an event having state by associating a cluster with it.
Robert, I appreciate your point of view however I was thinking along the lines that the function could be overloaded. i.e. different combinations of parameters/inputs are accepted and affect how or what the function responds/does.
Thanks again.
David Kerins