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.

Dragging and Dropping Multiple Files

 

Here is the modified version of our FlowRunner.BAT file.

@echo off
set prep="C:\Program Files\Tableau\Tableau Prep 2018.3\scripts\tableau-prep-cli.bat"
for %%I IN (%*) do (
call  %prep% -t "%%~I"
echo.
echo.
)
pause

 

Explanation:

2 thoughts on “Tableau Prep – Running multiple flows with drag and drop”
  1. Hey Jose,
    I love this Blog ( Bookmarked !)
    I also have a question, what determines the order of execution? Because I need my workflows to run in a certain order because of dependencies.

Leave a Reply

Your email address will not be published. Required fields are marked *