---
schema_version: "1"
id: 7dda22e1c1d086e12c0ecf5c3f1f7877af007003eb4637fc04e10477e03acb42
title: 設定外部動作工作流程整合
collection: tableau
version: next
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/next/zh-tw/server-linux/external_actions_admin.md
canonical_url: https://help.tableau.com/v0.0/server-linux/zh-tw/external_actions_admin.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 2125a5100d3da3945ad4e589f8e07b2455f62fdcc7eaab9b03ba506af847cc9f
description: Configure external action workflow integrations and site-level settings on Tableau Server.
---
[跳至主要內容](#main-content)

# 設定 外部動作 工作流程整合

**附註：**Tableau 中的外部動作依賴 Salesforce 流程提供的功能。該功能將選取的資料傳送到在個別的 Salesforce 基礎架構上執行的 Salesforce 流程。使用 Salesforce 流程 和其他 Salesforce 產品和服務需遵守您與 Salesforce 的合約。

有關如何使用 外部動作 的詳情，請參閱[「整合」外部動作](https://help.tableau.com/current/pro/desktop/zh-tw/external_actions.htm)。

## 版本、站台角色和權限要求

設定和使用 外部動作 工作流程，您和要使用工作流程的人員都必須在支援 外部動作 的 Salesforce 和 Tableau 版本中具有特定站台角色和權限。

<table style="width: 100%;border-left-style: none;border-right-style: none;border-top-style: none;border-bottom-style: none;margin-left: 0;margin-right: auto;" class="table--plain"><colgroup><col><col><col></colgroup><thead><tr><th>產品</th><th>版本</th><th>站台角色和權限</th></tr></thead><tbody><tr><td>Tableau</td><td><a href="https://www.tableau.com/zh-tw/products/cloud-bi" target="_blank">Tableau Cloud</a>、<a href="https://www.tableau.com/zh-tw/products/desktop" target="_blank">Tableau Desktop</a> 或 <a href="https://www.tableau.com/zh-tw/products/server" target="_blank">Tableau Server</a> 版本 2022.3 或更高版本</td><td><p><b>建立或編輯工作流程：</b><a href="https://help.tableau.com/current/blueprint/zh-tw/bp_license_types.htm#tableau-creator" target="_blank">Creator</a> 或 <a href="https://help.tableau.com/current/blueprint/zh-tw/bp_license_types.htm#tableau-explorer" target="_blank">Explorer</a>（可以發佈）站台角色，以及編輯和儲存工作簿的權限（<a href="https://help.tableau.com/current/server-linux/zh-tw/web_author_who.htm" target="_blank">Linux</a> | <a href="https://help.tableau.com/current/server/zh-tw/web_author_who.htm" target="_blank">Windows</a>）</p><p><b>傳送資料</b>：下載摘要資料 <img src="https://help.tableau.com/v0.0/server-linux/zh-tw/Img/perms_downloadsumdata_icon.png" alt=""> 權限能力</p><p><b>使用工作流程：</b>任何站台角色</p></td></tr><tr><td>Salesforce</td><td>Essentials、Professional、Enterprise、Performance、Unlimited 或 Developer 版本（請參閱<a href="https://help.salesforce.com/s/articleView?language=zh_TW&amp;id=sf.overview_edition.htm&amp;type=5" target="_blank">Salesforce 版本</a>）</td><td><p><b>建立或編輯流程：</b><a href="https://help.salesforce.com/s/articleView?id=sf.retail_task_admin_permission_flow.htm&amp;type=5" target="_blank">管理流程權限</a></p><p><b>要使用流程：</b>在使用者詳細資訊頁面上<a href="https://help.salesforce.com/s/articleView?id=sf.retail_task_admin_permission_flow.htm&amp;type=5" target="_blank">執行流程權限</a>或<a href="https://help.salesforce.com/s/articleView?id=sf.user_fields.htm&amp;type=5" target="_blank">流程使用者設定</a>或<i>覆寫預設行為並限制對流程節點中啟用的設定檔或權限集</i>設定的存取（請參閱<a href="https://help.salesforce.com/s/articleView?id=sf.flow_distribute_security.htm&amp;type=5" target="_blank">流程安全性如何運作？</a> ）</p></td></tr></tbody></table>

## 外部動作 部署要求

要使用 外部動作 工作流程擴充功能，Salesforce 管理員必須在 Salesforce 中為 Tableau Server [建立連線的應用程式](https://help.salesforce.com/s/articleView?id=sf.connected_app_create.htm&type=5)。

此外，必須將要部署擴充功能的 Tableau Server 或 Tableau Cloud 站台的網域新增到[Salesforce 跨網域資源共用 (CORS) 允許清單](https://help.salesforce.com/s/articleView?id=sf.extend_code_cors.htm&type=5)。

## 開啟或關閉 外部動作

在 Tableau 2022.3 及更高版本中，預設啟用 Tableau 外部動作 功能。要關閉該功能，可以使用 Tableau 服務管理員 (TSM) 命令列介面 (CLI) 或設定站點層級設定。

### 使用 TSM CLI

[使用 TSM CLI](https://help.tableau.com/current/server/zh-tw/tsm.htm)設定 `vizqlserver.workflow_objects_enabled` 金鑰值為 `tsm configuration set -k vizqlserver.workflow_objects_enabled -v false`。

變更設定金鑰值後，請務必使用 `tsm pending-changes apply` 命令確認套用變更。如果擱置組態需要重新啟動伺服器，`pending-changes apply` 命令將顯示提示，讓您知道即將重新啟動。即使伺服器已停止，也會顯示提示，但此選項不會重新啟動。可以使用 `--ignore-prompt` 選項隱藏提示，但此選項不會改變重新啟動行為。若變更不需要重新啟動，則套用變更時不會出現提示。有關詳情，請參閱 [tsm pending-changes apply](https://help.tableau.com/current/server/zh-tw/cli_pending-changes.htm#pending-changes-apply)。

### 修改站點層級設定

有關如何在 Tableau Server 中自訂站點層級設定的詳細資訊，請參見[站點設定參考](https://help.tableau.com/current/server/zh-tw/sites_add.htm)。