Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: SF_lt on March 23, 2005, 11:51:19 am

Title: guard condition
Post by: SF_lt on March 23, 2005, 11:51:19 am
how to set guard conditions on sequence diagram actor swimlane? for example, sequence goes on when [number=2]
UML2 supports guard condition on entities, is it possible to set such guard condition?
have tried to set constraint, but view is not how to supposed to be.
Title: Re: guard condition
Post by: TrtnJohn on March 25, 2005, 11:15:23 am
Did you try condition?
Title: Re: guard condition
Post by: SF_lt on April 06, 2005, 11:40:59 am
of course
while drawing sequence diagram, i have noticed, that guard conditions can't be set on the objects, for example in the middle of the lifecycle line.
Condition could be set when signal occures, by using fragments.
But have seen, that this is possible for UML2. As for example, check "UML 2 for dummies" :-) by Michael Jesse Chonoles and James A. Schardt   ISBN:0764526146, Chapter 12: Capturing Scenarios with Sequence Diagrams, there are plenty examples of such guard conditions