I have a parent list and a child list. My scenario is each parent can have many children. ParentID is the foreign key in my child list.
Now when I am running a flow on Parent list and trying to read my child list and with a condition ID = ParentID. The condition is failing for all the records even though the Parent Item I am testing has 3 child items.

What am I missing?
Also all the records that this condition satisfy needs to be written into one word document in a table format. How can I achieve that?
Thanks in advance!