Hi,
I want to put two workflows together in the app, and I want to run Workflow A when I upload X file, and run Workflow B when I upload Y file, what is the best filter function to see if I upload X or Y? I want to use fields/header count as a criteria, is it possible? Thanks
Solved! Go to Solution.
Hi @TPYN ,
I've used your idea of counting headers to identify what is the file. It is possible to check for specific columns as well.
After that, I've used a dynamic input tool to open the file.
Take a look at the attached example and let me know if this makes sense to you.
Best,
Fernando Vizcaino
Hi @fmvizcaino,
Thank you for the solution, it works in the first part, but then I want to see the whole data file, and after the dynamic input, it just shows me file not found.... What could be a possible solution?
where is the original data then? I want to use the data for the next step(for my following workflows.)
Thanks Again!
Hi @TPYN ,
Are you trying to run my example with your files? It so, you need to update the templates inside the dynamic input tool with your proper templates in order to get the solution to work for you.
If this is not the error, please attach some screenshots please
Best,
Fernando Vizcaino