UML specs 2.5
says:
The effect of one ActivityNode on another is specified by the flow of tokens over the ActivityEdges between the ActivityNodes.
But above definition is obscure; specially because tokens are not explicitly modeled in an Activity.
After reading 15.2.3.3 Activity Edges
section of specifications, I think purpose of them is:
to capable the diagram to describe it may wait for other token or refuse flow instead of entering next node immediately
Is it true? Also is it the only purpose of tokens? If it is true, why we do not use a decision node
with a condition and a end flow
node for showing refusing flow under that condition instead of token
and guard
s? Or grouping information into larger objects node which carries all necessary data instead of using weight?