while learning UML activity diagrams I saw some different explanations about the object flow and am kind of confused.
Consider the naive picture above with the UML 2.2 semantics. Every time this activity "Robot do sth" is called, a robot should go to its working position and process the workpiece. Afterwards, the robot will go back to the idle position and the processed workpiece would be sent back through the output parameter.
The problem here is just, is the object flow from the input parameter treated as a precondition for the action "processing" besides the control flow above it? Or similarly, will the "processing" action take place, if the input control flow is hit by a token but there is no workpiece ready on the input object flow?