How to group by all columns except one without errors when column list changes?

Hi all,

I have a workflow where the input table columns change depending on what's passed in, meaning new columns can appear at any time and I have no way of knowing them in advance. There is however one column that will always be present and always be the same: my aggregator column, which is calculated earlier in the workflow.

Pipeline:

- Group by all columns except the aggregator column

- Aggregate that one fixed column (Concatenate)

- This should work regardless of how many or which columns are in the input

The problem is that the GroupBy node has a static configuration such that if a column appears in the input that isn't listed in the Group By settings, the node throws an error and the workflow fails.

Is there a clean, native KNIME way to make GroupBy dynamic so it automatically picks up all columns (including new unknown ones) and groups by them, while always aggregating that one fixed column?

Any help appreciated. Thanks!