Getting rid of empty branches / empty groups in a list

Hello, I know this have been covered a few times with solutions like replacing members etc.
The new clean tree component does not work with groups.

Would anyone have any solutions to clear the empty groups?

Thank you.

you can connect the output of the Merge into a: Ungroup → Clean Tree (E input = True) → Group

Hi Inno,

Thanks for the obvious solution! Sometimes after spending 20 minutes cracking my head, it is good to have someone else take a fresh look at the problem.

I have now placed the clean tree far ahead before I even grouped it and it works great.The components after are able to execute the commands properly now. =)

hahaaaaaaaa you are 100% on spot, it happens to me 5 times per day :slight_smile:
but that’s why this forum is so useful! :heart:

You could probably also use a Text Match and filter out “Empty Group” with a cull pattern.