Not sure if this is already covered. In the RE Framework, the iteration over Queue item (provided in the template), or iteration over a DataTable, or Tabs of a workbook, or list of files within a folder etc is handled by the programmer. And we have to go a change the counter initialization and increment logic. Debugging, if you have messed up with the counters, transaction items can be painful in such cases.
Hence it would be great if common components/APIs to act as Iterators over various sources that you have to loop over were implemented. I don’t know how difficult it is to implement at this point using UiPath flows itself, or by enhancing the product itself.
So, essentially with 'Init … ’ you choose a specific source and what you are iterating over - e.g. source being a folder, and iterating over files starting with a specific name in a folder, or say, iterating over a datatable. Implement a next(), add(), atEnd(), atStart() for commonly use cases of sources to iterate over.
As a corollary, the transactionitem type passed around may have to be made generic <> instead of a specific datatype. This way when the type of our datasource is different we don’t have to change the datatype in the framework.