Sorting a list of entities by a referenced entity attribute
Is there an easy way to sort a list of entities by a referenced entity attribute via a microflow action? For example, I have an entity student that is linked to an entity school and I want to sort my list of students by the name of the school that they go to. Thanks!
This is possible out of the box. If you do a ‘Retrieve’ action and use the Database source, there is an option at the bottom for Sort parameters. Here, you can use attributes available over association to do the sorting. See the picture below where I retrieve an Account object sorted by User Language