Activity diagram object flow usage

1.1k views Asked by At

I have this piece of diagram:

enter image description here

I would like to ask, if it is OK that two transisions goes to Confirm request. Is it also OK that two transition goes from Choose food? One transition is object flow, one is control flow.

1

There are 1 answers

4
qwerty_so On BEST ANSWER

An object flow is shown with action pins sending and accepting the object.

enter image description here

Also an object flow with Information Flows realized is shown like above where Chosen food directly links to the classifier.

You "can" use an ObjectFlow like you did. But it introduces a bit of ambiguity since you can not distinguish an ObjectFlow from a ControlFlow as they have the same shape. So this is what I'd recommend to give a clear picture.

On p. 379 of the specs you find

An object flow is notated by an arrowed line. In Figure 15.9, upper right, the two object flow arrows denote a single object flow edge between two pins in the underlying model, as shown in the lower middle of the figure. (See other Pin notations in sub clause 16.2. The specific notational variant used shall be preserved when the diagram is interchanged, see Annex B.)

enter image description here