Modeldraw
  • Welcome to Modeldraw
  • Getting Started
    • Quickstart Guide
  • FAQ
  • UML Designer
    • Common Elements
      • Comment
      • Comment Link
      • Dependency
      • Realization
      • Frame
    • Class Diagrams
      • Class
      • Association
      • Generalization
      • Composition
      • Aggregation
      • Enumeration
      • Interface
      • Association Class Link
      • Ball (Interface Realization)
      • Socket (Required Interface)
    • Sequence Diagrams
      • Lifeline
      • Activation Bar
      • Synchronous Message
      • Asynchronous Message
      • Return Message
      • Found Message
      • Interaction Frame
    • Use Case Diagrams
      • Actor
      • Use Case
      • Association
      • System Boundary
      • Generalization
      • Include Relationship
      • Extend Relationship
    • State Machine Diagrams
      • State
      • Initial State
      • Final State
      • Transition
      • Superstate
      • Concurrent Boundary
      • History Pseudostate
      • History Transition
    • Package Diagrams
      • Package
    • Deployment Diagrams
      • Node
      • Communication Path
      • Deployed Artifact
      • Internet
    • Activity Diagrams
      • Initial Node
      • Activity Final
      • Action
      • Flow
      • Decision / Merge
      • Fork / Join
      • Partitions
      • Flow Final
      • Send Signal
      • Accept Signal
      • Time Signal
    • Component Diagrams
      • Component
      • Ball (Interface Realization)
      • Socket (Required Interface)
    • Communication Diagrams
      • Object
      • Link
  • Wireframes
    • Views
    • Layouts
    • Components
Powered by GitBook
On this page
  • Understanding Return Message
  • Creating a Return Message
  1. UML Designer
  2. Sequence Diagrams

Return Message

PreviousAsynchronous MessageNextFound Message

Last updated 7 months ago

A Return Message in a UML Sequence Diagram represents the response sent back to the caller after a synchronous message has been processed. In Modeldraw, you can use Return Messages to show the completion of an operation and the passing back of results or control to the original sender.

Understanding Return Message

A Return Message represents the response to a previous call. Key characteristics include:

  • It shows the completion of an operation and the return of results or control

  • It is drawn as a dashed line with an open arrowhead

  • It typically marks the end of an Activation Bar on the receiving Lifeline

  • It is usually paired with a preceding Synchronous Message

A Return Message is represented in UML by a dashed line with an open arrowhead pointing from the receiver back to the original sender.

Return Messages are crucial in Sequence Diagrams for:

  • Showing the completion of synchronous operations

  • Representing the passing of results back to the caller

  • Indicating the end of a particular interaction or method call

Creating a Return Message

To create a Return Message in Modeldraw:

  1. Select the Return Message tool from the toolbox.

  2. Click on the Activation Bar of the Lifeline that received the original message (typically at the bottom of the Activation Bar).

  3. Move your cursor to the Lifeline that sent the original message.

  4. Click on the Activation Bar of the original sender's Lifeline where you want the Return Message to end.

  5. The Return Message will be created between the two Activation Bars.

A Return Message