Do you have any idea how to reuse an interaction in more than one sequence diagram in Enterprise Architect?
In this case, I'd like to reuse the interaction ServiceX in different sequence diagram.
Do you have any idea how to reuse an interaction in more than one sequence diagram in Enterprise Architect?
In this case, I'd like to reuse the interaction ServiceX in different sequence diagram.
You must not do that. A message is only part of the diagram it is placed on and used in the very context you show on that specific SD. The same applies for the life lines. They are all instances of classes and never re-used in other SDs.
Actually you derive the message from an operation defined in the class that instantiates your object. Just choose the right one from the message drop down.
As you can see,
Class1
is the classifier ofObject1
and itsoperation
is available in the dropdown.