@v-alzhan-msft I have exactly tried your way, but it is deleting all my list items in child list. It should delete only one item though. In summary this is how my 2 lists are
Primary List got ID, other columns
Secondary List got ID, other columns and ReferenceID. ReferenceID is to understand which item from primary list is being referred to here. Every item in child list is referencing to parent list using this ID.
Now what I want is - If ( PrimaryListItem.Status = Closed) then Delete Secondary list item where SecondaryListItem.ReferenceID = PrimaryListItem.ID. Here is my current flow.
When compared with your flow, I just added another condition somehow the condition fails and flow doesnt reach delete action.

