12 It ??™ s the target you want to hit. In Figure 3.47 , you can see an activity
that contains three tokens after it had been invoked. The entire activity is terminated
as soon as an activity fi nal node is reached.
In contrast to activity fi nal nodes, a fl ow fi nal node swallows the token that
hits it, while all other tokens in the activity continue rolling. This means that only
this one fl ow is terminated. If it is the only or fi nal fl ow in the activity, then the
entire activity is terminated by the motto ??? the last one turns the light off. ???
The notation for a fl ow fi nal node is a circle with a cross, similar to the lamp
symbol used in electrical engineering ( Figure 3.48 ). Note that there is no causal
connection.
3.6.6 Decision and Merge Nodes
3.6 The Activity Diagram
FIGURE 3-48
Example for fl ow fi nal nodes.
act Booking a trip
Plan
trip
Book
hotel
Book
flight
12 In the game of darts you normally try to hit exactly the center of the dart board??”the bull??™s eye.
Defi nitions
A decision node is a node in an activity at which the flow branches into several
optional flows.
Pages:
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367