Grouping microflows into clear components (ie. units)... Creating properly purposed microflows that have:
- Singular function to use as a unit and to limit testing variations, keeping testing simple, lower complexity
- Abstracted inputs to decouple microflows and to make components reusable (e,g, using a primitive parameter instead of passing in a specific object) This also makes for easier testing setup.
- Wherever possible saving commits to parent flows. We all know that committing at the end of a transaction is ideal, therefore microflows that can be reused should not have commits, the commits should be left to the parent flow that calls the sub. This includes get-create flows.
I agree with all items @Jon listed!