Why not just use a workflow to display the current row object in your target group, have the parent container of the target group take the type of object u’re sending in it and viola…
This should work I think, it’s a simple process maybe u’re over thinking the logic…