Create Metanode from workflow with inport to flow variable

Hi all,

I have a workflow which starts with a 'List Files' node. Now I want to create a Metanode from this workflow which can read the originally in the List Files node configured directory from the Metanode's input port.

To do this I have switched the configured directory to a new flow variable, hoping that I can use this flow variable as input for the metanode.

Does this work?

Update: I found a solution. First I introduced a 'Table row to variable loop start' node in the metanode which I connected to the input port and via the Flow variable port to the List Files node. The List Files node has to be reconfigured to get the directory path from the corresponding Flow variable produced from the 'Table row to variable loop start' node (variable Location).

Best regards

Manfred