Retrieve object reversed from self referenced association

My section object has a self reference called "Parent". By default I can retrieve the parent via this association. My "parent" section is in the context of my microflow and now I would like to retrieve the children from the database. I'm using the following xpath constraint to retrieve the children from the database: [Module.Parent [reversed()]= $Section] For some reason this doesn't do the trick. What am I doing wrong?
1 answers

If its a self reference, the associations are not interpreted in the same way as usual, so you don't need the [reversed()] here (yup, its quite confusing).

You would need [reversed()] if you want to retrieve the parent form the DB given a child. But you won't encounter that case often, since you can retrieve it directly from the association as well.