title: How to model the scope of a database transaction within an UML activity diagram?
body: <p>I need to model a process, the required notation is an UML activity diagram. </p>
  
  <p>An input file is read and for each line a database record would be batch-inserted, but only if all lines of the input file pass some validity checks.  If any line violates the validation rules, the entire input file would be rejected. </p>
  
  <p>This seems like a very common pattern, however, the only graphical way of modelling this seems to be modelling begin and end of the transaction as activities. <a href="https://i.stack.imgur.com/bmto4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bmto4.png" alt="modelling begin and end of transaction as activities"></a></p>
  
  <p>Isn't there a way to do this more nicely? 
  Is there a UML or SysML language element that corresponds to a looped transaction?
  The diagram is intended for a non-tech customer who would be very confused by the transaction activites. </p>