Retrieving over association is often needed as some changes may not be committed yet (dirty state). Sometimes, when you retrieve a list and you only need a part of the list, a filter activity is required. Next, if you also need to sort the list, another sort activity is required.
Having this sequence of microflow activities has a couple of downsides:
It would be great if the "retrieve over association" activity would also provide options to:
This would make a "retrieve over association" in a microflow look very similar to the "retrieve from database" currently available in nanoflows:
Which is limited compared with the full-blown options in a "retrieve from database" activity in a microflow (mind the associations):
This idea is very similar to this one, but I tried to elaborate a bit more on the how and why, added sorting and tried to bring a more realistic solution.
yes please
This would be very useful when using non-persistent objects as well, where there is no database to retrieve from. You now have to use multiple actions (retrieve, sort, head) simply to retrieve one specific instance from a list of non-persistent objects that could have been retrieved with a simple XPath...