Using mode option in list files node as flow variable

Hi

I want to pass the mode option dynamically into list files node. I sometimes need to select Files in folder option and sometimes Folders.
Is there a possiblity to configure mode of list files node in flow variables?

Thanks,
Raj

Hello @rajvenkatesh_k,

yes. Here are values for flow variable depending on filter mode:
FILES_IN_FOLDERS
FOLDERS
FILES_AND_FOLDERS

Look here in order to find out how to find out which value is behind which option:
https://docs.knime.com/latest/analytics_platform_flow_control_guide/index.html#creating-local-flow-variables

(Look for Exporting a node configuration as flow variable paragraph)

Br,
Ivan

3 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.