![]() It is possible to show that activities can occur in parallel, as you see in Figure 1 depicted using two parallel bars. Follow Agile Modeling (AM)‘s principle of Depict Models Simplyand only indicate a guard on a transition if it adds value. Guards Are Optional . It is very common for a transition to not include a guard, even when an activity includes several exit transitions.Apply a Guard for “Fall Through” Logic.An activity invariant is a condition that is always true when your system is processing an activity. Exit Transition Guards and Activity Invariants Must Form a Complete Set.For example, guards such as x 0 are not complete because it isn’t clear what happens when x is 0. ![]() Guards on Decision Points Must Form a Complete Set.For example guards such as x 0 are consistent whereas guard such as x = 0 are not consistent because they overlap – it isn’t clear what should happen when x is 0. Each Transition Leaving a Decision Point Must Have a Guard.The Fill Out Enrollment Forms activity in Figure 1Ī guard is a condition that must be true in order to traverse a transition. ![]() ![]() The guards, depicted using the format, on the transitions leaving the decision point also help to describe the decision point. In Figure 1 you see that there is no label on the decision point, unlike traditional flowcharts which would include text describing the actual decision being made, you need to imply that the decision concerns whether the person was enrolled in the university based on the activity that the decision point follows.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |