Associate newly created object to another object in a microflow

I want to use a microflow to do a loop in which it creates several objects (e.g. A,B and C of entity Activity). I have another entity that is called Patient. I want to link these newly created objects to Patient. Just ignore the part in front of the loop, that's irrelevant for the question. So the question is: how can I link newly created objects to another object, so when I retrieve a list of activities by association from Patient, the objects which have been created with this microflow are in the list?
1 answers

The same way you change an attribute you can also set an association, as long as there IS an association between these entities of course.