I am looking at how to implement Dynamic fork in Activity engine… I need couple of inputs for the dev gurus'..
1. Which classes are responsible for implementing fork and join in Activity engine.
2. Any tips of how to implement this feature in the best possible manner.
3. Is it a good idea to alter the in memory process definition model to include more number of sequences (based on the number of paths in the fork?) hence effectively … making the process mimic desired behavior? If yes which are the classes that gets created when a given sequence is encountered… also Process and Activity container model.
2. Look at the previous class, it should give you an idea what the API is to spawn and join executions.
3. No, since the process definition is shared for all users (if not, you would require much more memory. So you cant change it, because your next user might need less sequence flow.