How do i show conditionality in a UML Sequence Diagram ?

E

Eyal Kobrigo

Can someone give me an UML Sequence example (diagram or directions) that uses
conditionality. That is display a logic that says: if a > b send a message1
from Object1 to Object2 else send anothermessage2 from Object1 to Object3.

10x in advance
Eyal Kobrigo
 
J

John Saunders

Eyal Kobrigo said:
Can someone give me an UML Sequence example (diagram or directions) that
uses
conditionality. That is display a logic that says: if a > b send a
message1
from Object1 to Object2 else send anothermessage2 from Object1 to Object3.

I don't believe there's a way to do it. You can't really add guards.

They don't support iteration, either.

John Saunders
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top