Set attribute in sequence diagram

hello…i have a question about sequence diagram

is there any way to assign a value into an attribute at a call type connector without typing it manually

for example i want assign a value for attribute a with a result dan returned from method b() : a=b()
how do i add that information to call type connector without typing a=b() manually?

Hi bigedo,

Thank you for your post. Please right click on a sequence message, enter the return value (e.g. ‘a’), return to the diagram. Now, you can see the return value appended to the message. Is this what you want?

Best regards,
Jick Yeung