How do I return a list of objects from a sub microflow?

I have a microflow which passes an object to a sub-microflow which then retrieves a list of associated objects. How do I pass this object list back to the calling microflow. The end event of the sub-micorflow simply states 'The microflow returns nothing so there is nothing to edit here.' Thanks.
1 answers

When editing a microflow you can find, on the right-hand side of the screen under the behavior tab, the "return type" attribute. Set this to List and the proper object, after that you can define in your end event which list to return.