Select Reader based on file type?

Is it possible to choose the correct "reader" based file type - sdf, xls or csv, for example taken from the file upload node, or as specified in a string input node?

Cheers,

SOH.

 

Yes, it is possible by using nodes from the Flow Control / Switch category together with the File Upload node which need to be connect to the Java IF Table to check the file extension. This data table need to be translate into a variable (with the TableRow To Variable node) which controls the respective Reader node. Hope this helps.