Interesting problem while Creating Activity Model
Hello,
I have an activity model design and I am constructing my activity model from
this design. The problem is when I want to add a transition as I explained
below it gives the exception:
A nonloop transition with the specified child step already exists.
Steps can be the child of only one nonloop transition at most.
Here is my activity model design:
step1, step2, step3, step4, step5, step6
transition12 (step1tostep2), transition 13, transition 31, transition 25,
transition52, transition 53, transition24, transition41, transition26
If you draw the diagram the transition from step5 to step3 throws exception
when I try to add it.
activityModel.AddStep(actionID, out step);
activityModel.AddTransition(sourceStepId,destinati onStepId,
isDependentComposition[false valued], "", "", out transition);
Do you have any idea about this problem? Thanks...
