Book a Demo

Author Topic: Conditions in Sequence diagram  (Read 3027 times)

kenmcclure

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Conditions in Sequence diagram
« on: January 12, 2004, 08:19:48 am »
Hi,
Sorry if this is a simple one but I couldn't find anything on it in the archives.  We are trying to model a complex condition, ie. a If, If Else, I Else .....   in a sequence diagram. As a result of one condition being fulfilled 3 or 4 messages are fired, or if it's another condition that's fulfilled 3 or 4 different messages are fired etc.

The best way we thought of to do it is to group together the 3 or 4 messages in a iteration boxes, however it seems we can't use this because the stereotype <<iteration>> appears and the only way to get rid of it is to disable (hide) stereotypes in the whole diagram.

Can anyone tell me if we are doing this correctly or if there is another method of expressing complex coditions and grouping the resulting messages together.

Thanks a lot, we have racked our brains about this.
Keb

kenmcclure

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Conditions in Sequence diagram
« Reply #1 on: January 14, 2004, 07:31:00 am »
Our fault, we were using the iteration box instead of the boundary.