Group Insert Option in Compositor

Anyone know how to use the Group Insert option in the compositor.

Either as code:

Or just using the menu manually.

I’ve tried all sorts of selection orders and nothing seems to work.

Any ideas?

Ok…as usual :confused: i ask a question and then start getting some idea…it seems i need to have created a node_tree already. Which resides within the group first. THEN i insert the group…still any other insights could be useful!? :slight_smile: