---
schema_version: "1"
id: 6ec94079bb3795135d9596d88952d4b87500214cc1cb5decf8ead9f2eb038431
title: 配置外部操作工作流集成
collection: tableau
version: current
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/current/zh-cn/server-linux/external_actions_admin.md
canonical_url: https://help.tableau.com/current/server-linux/zh-cn/external_actions_admin.htm
source_site: help.tableau.com
content_type: documentation
content_hash: dad2d7c759f63f4f02afbb2af51f780d02495e67e2ed6de499336933580ff76c
description: Configure external action workflow integrations and site-level settings on Tableau Server.
---
[跳转到主要内容](#main-content)

# 配置 外部操作 工作流集成

**注意：**Tableau 中的外部操作依赖于 Salesforce Flow 提供的功能。该功能将您选择的数据发送到在单独的 Salesforce 基础设施上运行的 Salesforce Flow。Salesforce Flow 和其他 Salesforce 产品和服务的使用受您与 Salesforce 的协议约束。

有关如何使用 外部操作 的详细信息，请参见[集成 外部操作](https://help.tableau.com/current/pro/desktop/zh-cn/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>Editions（版本）</th><th>站点角色和权限</th></tr></thead><tbody><tr><td>Tableau</td><td><a href="https://www.tableau.com/zh-cn/products/cloud-bi" target="_blank">Tableau Cloud</a>、<a href="https://www.tableau.com/zh-cn/products/desktop" target="_blank">Tableau Desktop</a> 或 <a href="https://www.tableau.com/zh-cn/products/server" target="_blank">Tableau Server</a> 版本 2022.3 或更高版本</td><td><p><b>创建或编辑工作流：</b><a href="https://help.tableau.com/current/blueprint/zh-cn/bp_license_types.htm#tableau-creator" target="_blank">Creator</a> 或 <a href="https://help.tableau.com/current/blueprint/zh-cn/bp_license_types.htm#tableau-explorer" target="_blank">Explorer</a>（可发布）站点角色，以及编辑和保存工作簿的权限 (<a href="https://help.tableau.com/current/server-linux/zh-cn/web_author_who.htm" target="_blank">Linux</a> | <a href="https://help.tableau.com/current/server/zh-cn/web_author_who.htm" target="_blank">Windows</a>)</p><p><b>发送数据</b>：“下载摘要数据”<img src="https://help.tableau.com/current/server-linux/zh-cn/Img/perms_downloadsumdata_icon.png" alt=""> 权限能力</p><p><b>使用工作流：</b>任何站点角色</p></td></tr><tr><td>Salesforce</td><td>Essentials、Professiona、Enterprise、Performance、Unlimited 或 Developer 版（请参见 <a href="https://help.salesforce.com/s/articleView?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>

## 外部操作 的部署要求

为了使用 外部操作 工作流扩展程序，Salesforc e管理员必须在 Salesforce for Tableau Server 中[创建已连接应用](https://help.salesforce.com/s/articleView?id=sf.connected_app_create.htm)。

此外，必须将要部署扩展程序的 Tableau Server 或 Tableau Cloud 站点的域添加到 [Salesforce 跨源资源共享 (CORS) 允许列表](https://help.salesforce.com/s/articleView?id=sf.extend_code_cors.htm)中。

## 开启或关闭 外部操作

在 Tableau 2022.3 及更高版本中，Tableau 外部操作 功能默认情况已开启。若要关闭该功能，可以使用 Tableau 服务管理器 (TSM) 命令行界面 (CLI) 或配置站点级别设置。

### 使用 TSM CLI

[使用 TSM CLI](https://help.tableau.com/current/server/zh-cn/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-cn/cli_pending-changes.htm#pending-changes-apply)。

### 修改站点级别设置

有关如何在 Tableau Server 中自定义站点级别设置的详细信息，请参见[站点设置参考](https://help.tableau.com/current/server/zh-cn/sites_add.htm)。