Hi all,
I'm kind of confused regarding the usage of Object and Control-Flows in UML.
An Object-Flow is defined as following:
"An object flow is an activity edge that only passes object and data tokens."Control-Flows are defined as:
"A control flow is an edge that starts an activity node after the previous one is finished." Problem:
I wanted to model the following scenario:
Action1 (executed first) is passing data to Action2 (executed after Action1).

Question:
1. Is it enough to model this scenario via an Object-Flow (2nd approach in the image)? My concern regarding this procedure is, that an Object-Flow is not the right way to model an "execution-flow" (Control-Flow.
2. Or, do I have to (or can I) connect them with both Flows, an Object and Control-Flow as it is done in the image above, to show the flow of data and control?
Thanks..