Is there any provision in knime to disable a flow in the workflow on the basis of file availability?
For eg: if file is not available in the given location, then can we disable the flow in front of it.
I need to make some nodes conditional. Empty table switch wont work here.
Then you have to check if a file is present or not in a directory, so list files does this.
With groupby i count the number of files, convert that number in a variable, adding some logic into rule engine (count = 0 => “top”, TRUE => “bottom”), and then plugging this variable to control the switch:
So, in case of 0 files, you’ll trigger the top flow, otherwise the bottom flow.
Hi Thank u so much for the solution, But list file is working fine on desktop version but is not supporting on server by throwing error:Remote directories not supported.
Is there any other node for server
I was not aware about list file node… that is why i was saying that only empty table switch wont work dere…but aftr list file node…it is working fine…