---
schema_version: "1"
id: 3c41f916d2f85c380b565223361e3c4c8bdc4ae4650ca68a0fea9a9d11a737be
title: 執行流程
collection: tableau
version: next
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/next/zh-tw/prep/prep_conductor_run_flow.md
canonical_url: https://help.tableau.com/v0.0/prep/zh-tw/prep_conductor_run_flow.htm
source_site: help.tableau.com
content_type: documentation
content_hash: b754c4be85b9e02386cc52afa7dd63fa87cd60ba58a827ed16d18b2b792e398f
description: Run a Tableau Prep flow manually to generate its output.
---
[跳至主要內容](#main-content)

# 執行流程

> [!IMPORTANT]
> 
> **重要提示**：從版本 2020.4.1 開始，在 Web 上手動執行流程不再需要 資料管理。僅當您計劃按排程執行流程時才需要（已啟用 Tableau Prep Conductor）。

要產生流程輸出，需要執行流程。執行流程時，所有資料（不僅是可能正在使用的資料樣本）都將以流程步驟執行。所有清理操作都將套用於完整資料集，從而形成一個整潔、乾淨的資料集，現在可以使用它來分析資料。

**注意**：從版本 2021.4.1 開始，執行包含參數的流程時，系統會提示輸入參數值。必須輸入所需的參數值。還可以輸入任何可選參數值或接受參數的當前（預設）值。有關在流程中使用參數的更多資訊，請參閱使用參數[執行具有參數的流程](https://help.tableau.com/v0.0/prep/zh-tw/prep_parameters.htm#run_flows)。

## 流程執行選項

從命令列、使用 Tableau Server REST API 流程方法或使用排程手動執行流程。

- **手動**：隨時手動在 Tableau Prep Builder 和網路上執行流程。資料管理 不是必需的。Web 上的流程必須先發佈，然後才能執行。有關詳情，請參閱 [Tableau Server](https://help.tableau.com/current/server/zh-tw/prep_web_auth.htm#publishing-flows) 或 [Tableau Cloud](https://help.tableau.com/current/online/zh-tw/prep_web_auth.htm#publishing-flows) 說明中的**「發佈流程」**。
- **命令列介面**：如果沒有 資料管理，可以使用命令列介面一次執行一個流程。有關詳情，請參閱[透過命令列重新整理流程輸出檔案](https://help.tableau.com/v0.0/prep/zh-tw/prep_run_commandline.htm)。
- **REST API**：使用 Tableau Server 中的流程和流程任務 REST API 方法執行流程。資料管理 是必需的。有關詳情，請參閱 Tableau REST API 說明中的[流程方法](https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_flow.htm)。
- **使用排程**：在 Tableau Server 和 Tableau Cloud 中，可以排程單個流程執行，或使用連結任務一個接一個執行多個流程。伺服器必須包含已啟用 Tableau Prep Conductor 的 資料管理。
    
    有關詳情，請參閱 [Tableau Server](https://help.tableau.com/current/server/zh-tw/prep_publishserver_overview.htm) 或 [Tableau Cloud](https://help.tableau.com/current/online/zh-tw/prep_conductor_online_intro.htm) 說明中的**「Tableau Prep Conductor」**。有關排程流程以自動執行的資訊，請參閱 Tableau Server 說明中的[排程流程工作](https://help.tableau.com/current/server/zh-tw/prep_conductor_online_schedule_flow_task.htm)。

## 手動執行流程

手動執行流程時，可以一次執行一個流程。可以執行整個流程或針對選定的輸出執行流程。

如果在 Web 製作（版本 2020.4 及更新版本）中執行流程，則必須將流程發佈到服伺服器才能執行它，並且在第一個流程完成之前，不能執行另一個流程，即使從單獨的索引標籤也是如此。有關詳細資訊，請參閱[將流程發佈至 Tableau Server 或 Tableau Cloud](https://help.tableau.com/v0.0/prep/zh-tw/prep_conductor_publish_flow.htm)。

在 Tableau Cloud 中，網站管理員也可以限制一天中可以進行的流程執行數。有關詳細資訊，請參閱 Tableau Cloud 說明中的[Tableau Cloud 站台容量](https://help.tableau.com/current/online/zh-tw/to_site_capacity.htm)。

1. 在 Tableau Prep Builder 或在伺服器上開啟流程。
2. 執行以下操作之一：
    - 從頂端功能表中，按一下「執行 ![執行流程按鈕顯示為向右的箭頭。](/tableau/next/zh-tw/prep/zh-tw/Img/prep_run_flow.png)」以執行整個流程，或按一下下拉式箭頭在清單中選取流程輸出。
        
        ![包含建立「年度區域效能...」和建立「Superstore Sales.hyper」選項的功能表。](/tableau/next/zh-tw/prep/zh-tw/Img/prep_run_flow2.png)
    - 在伺服器上，從「探索」頁面，右鍵按一下或 Cmd 按一下 (MacOS) ![使用 3 個點表示的「更多選項」功能表。 ](/tableau/next/zh-tw/prep/zh-tw/Img/prep_moreoptions_icon.png)更多動作，然後從功能表中選取「立即執行」。這將執行整個流程。
        
        ![流程縮圖中的下拉式功能表，顯示執行流程的「立即執行」選項。](/tableau/next/zh-tw/prep/zh-tw/Img/prep_pwa_explore_runflow.png)
    - 按一下流程中的輸出步驟，然後在「輸出」窗格中，按一下「執行流程」。
        
        如果流程未在 Web 上打開，需要按一下「編輯流程」以在編輯模式下開啟流程，然後按一下「發佈」以發佈流程，或接受發佈流程的提示，然後按一下「執行流程」。
        
        ![執行流程的按鈕。](/tableau/next/zh-tw/prep/zh-tw/Img/prep_run_flow3.png)