-
Book Overview & Buying
-
Table Of Contents
Mastering Tableau 2026 - Fifth Edition
By :
Here's a feature that might make you feel like a true power user. Starting in version 2020.4.1, the Data Management add-on is no longer required to publish flows or run them manually on the web. But did you know you can also run Prep flows from the command line?
Why would you want to do this?
Imagine you have a flow that needs to run every night at 2 AM, but your Tableau Server doesn't have the Data Management add-on for scheduling. You could set up a simple cron job (on Mac/Linux) or Task Scheduler (on Windows) to run your flow automatically. It's automation without the enterprise price tag.
How it works:
tableau-prep-cli run flow.tfl
You can supply JSON files to define credentials for input or output data connections, making this suitable for automated pipelines:
tableau-prep-cli run myflow.tfl --connection-credentials credentials.json
The credentials.json file would contain something like:
{
"connections...