Allocate function in ES

Hello,

I’d like to know if it’s normal that when I want to allocate a function on the execution of component B, I’m offered function 3, which doesn’t seem consistent with the LAB. Shouldn’t the software restrict us in this way ?


Capture2

Hi @Mehdi,

If I understand your question, in your view it should offer function 2 and not function 3 because there is only an Exchange between function allocated to component A and function 2 allocated to component B?

Both function 2 AND function 3 are allocated to component B, hence, when you open the Capella selection dialogue in a Scenario diagram it will show all allocated functions to a component, in your case two.

It is true the Exchange is only one according to your LAB, and maybe the source of your question?

I hope that helps,
Hélder Castro

1 Like

Hi @Mehdi, Capella could obviously be designed this way. However, it would force the modeller to create the LAB first. The current implementation gives the modeller more flexibility about when and how the model is created or modified.

You should also be aware that in the Exchange Scenario you are connecting the two lifelines with a sequence message. The sequence message just invokes a Functional Exchange it does not, of itself, connect the functions. The ES shows in what order and under what circumstances the functional exchanges occur. You as the modeller are embellishing this view by putting the desired function onto the execution timeline. However, this does not actually connect the function via the functional exchange. The model itself holds this knowledge.

2 Likes

Hi @HelderCastro,

That’s right, that’s the question I was asking myself. I needed some clarification on this subject.

Thanks for your answer !

1 Like

Hi @woodske,

Okay, I understand better, your explanation has clarified my questioning, thank you !