別のバッチ ファイルを使用して複数の Prep コマンド ライン インターフェイス (CLI) または tableau-prep-cli.bat 呼び出しを実行する方法は?
この情報は、Prep コマンド ライン インターフェイス (tableau-prep-cli.bat) で 1 つずつ実行する必要があるフローが多数あり、それらを同じバッチ ファイルにまとめて Windows タスク スケジューラに追加したい場合に役立ちます。次の例は、最初の "tableau-prep-cli.bat" が完了した後にジョブが終了しているため、機能しません。
multi_flows.bat
"C:\Program Files\Tableau\Tableau Prep Builder <version>\scripts\tableau-prep-cli.bat" -c "d:\myflow\PrepConnect.json" -t "d:\myflow\my_test_flow_1.tfl"
"C:\Program Files\Tableau\Tableau Prep Builder <version>\scripts\tableau-prep-cli.bat" -c "d:\myflow\PrepConnect.json" -t "d:\myflow\my_test_flow_2.tfl"
"C:\Program Files\Tableau\Tableau Prep Builder <version>\scripts\tableau-prep-cli.bat" -c "d:\myflow\PrepConnect.json" -t "d:\myflow\my_test_flow_3.tfl"
別のバッチ ファイルで Prep コマンド ライン インターフェイス (tableau-prep-cli.bat) を実行するときに、call コマンドを使用して連続実行します。
バッチ ファイルの例を次に示します。
multi_flows.bat
call "C:\Program Files\Tableau\Tableau Prep Builder <version>\scripts\tableau-prep-cli.bat" -c "d:\myflow\PrepConnect.json" -t "d:\myflow\my_test_flow_1.tfl"
call "C:\Program Files\Tableau\Tableau Prep Builder <version>\scripts\tableau-prep-cli.bat" -c "d:\myflow\PrepConnect.json" -t "d:\myflow\my_test_flow_2.tfl"
call "C:\Program Files\Tableau\Tableau Prep Builder <version>\scripts\tableau-prep-cli.bat" -c "d:\myflow\PrepConnect.json" -t "d:\myflow\my_test_flow_3.tfl"
001463671

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.