Tableau Prep – Running multiple flows with drag and drop
In the last post, we discussed about drag and drop execution of Tableau Prep flows. But what will happen if you dropped multiple files? The previous version will only run the first file, but we can easily modify it to run any number of files.
Here is the modified version of our FlowRunner.BAT file.
set prep="C:\Program Files\Tableau\Tableau Prep 2018.3\scripts\tableau-prep-cli.bat"
for %%I IN (%*) do (
call %prep% -t "%%~I"
- line 2: path to Tableau Prep command line script
- line 3,4 : Extract dropped file paths and execute them from command line