订阅

UiPath Automation Ops

UiPath Automation Ops 指南

Settings for Studio Policies

This page documents the settings available for StudioX, Studio, and Studio Pro policies. Unless stated otherwise, the settings are available in all template versions and for all Studio profiles.

📘

备注:

The Studio Pro profile is no longer available in Studio 2021.10 and later versions. The last Studio Pro policy template version is 20.10.3.

设计

Select the Design tab to configure settings found in Home (Studio Backstage View) > Settings > Design.

  • To govern a setting, select the check box or toggle next to it.
  • To allow Studio users to edit a setting, select Allow users to override. This makes the setting from the policy the default, but allows users to change it. By default, overriding in Studio is not allowed.

Save and Publish

  • Enforce Analyzer before Publish - Select Yes to prohibit publishing projects with Workflow Analyzer errors.
  • Enforce Analyzer before Run - Select Yes to prohibit running and debugging files or projects with Workflow Analyzer errors.
  • 仅分析 RPA XAML 文件 - 选择“是”以在运行项目的工作流分析器时从分析中排除具有测试用例的 XAML 文件。如果未选择,则将同时分析 RPA 和测试用例 XAML 文件。该设置适用于手动触发分析器,以及在运行/调试项目以及发布测试用例或项目之前自动强制执行和触发分析器的情况。
  • “在发布前强制签入”- 选择“是”可限制发布已添加到来源控件存储库但存在本地更改的项目。
  • Use “Smart File Paths” (For StudioX policies only) - Select Yes to enable the use of relative paths instead of absolute paths for file locations from the user profile folder so they work when shared with other users.
  • Enable AI activity suggestions - Select Yes to enable AI activity suggestions in the Add activity search bar. If this option is enabled, when the activity search bar opens, Studio sends information about the current context to a UiPath AI service that suggests activities to add based on the location in the workflow from which the search bar was opened.
  • Export Analyzer results - Select Yes to export the results of each workflow analysis to a JSON file in the project folder.
  • Enforce Release Notes - Select Yes to make the Release Notes field mandatory when publishing a project.

📘

备注:

The Enable AI activity suggestions, Export Analyzer results, and Enforce Release Notes settings are available starting with the 21.10.0 policy template version.

设计样式

  • Default language - Select the default language to use for expressions in new projects (VisualBasic or C#). Users can select a different language than the default when creating a new project.
    In Studio versions prior to 2021.10, this setting applies only to the Studio Pro profile. In Studio 2021.10 and later versions, this setting applies only to the Studio profile.
  • 创建固定注释 - 选择向活动中添加注释的默认方式:选择“是”固定在活动内,或选择“否”浮动至活动旁边。
  • Use Modern for new projects - Select Yes to enable a modern experience of working with UI Automation for new projects, with new and improved activities, recorders, and wizards. For more information, see Modern Design Experience.
  • “折叠活动精简视图”- 选择“是”可通过启用仅显示标题栏的视图来减少折叠活动所占用的空间。
  • Default compatibility - Select the default target framework to use when creating a project in the Studio profile: Windows - Legacy (.NET Framework 4.6.1), Windows (.NET 5.0 with Windows support), or Cross-platform (.NET 5.0 with cross-platform support).
  • Allowed compatibility frameworks - Select the target frameworks that are allowed when when creating or opening a project in the Studio profile: Windows - Legacy (.NET Framework 4.6.1), Windows (.NET 5.0 with Windows), or Cross-platform (.NET 5.0 with cross-platform support).
  • Connections service for new projects - Select Yes to use the Integration service in Automation Cloud as the default way to manage connections in all activities that support it. When enabled, the activities in the GSuiteMail. and Office 365 packages that support this feature default to using Integration service connections for authentication.

📘

备注:

The Default compatibility and Allowed compatibility frameworks settings are available starting with the 21.10.0 policy template version.

常规

📘

备注:

The General tab is not available for StudioX policies.

Select the General tab to configure settings found in Home (Studio Backstage View) > Settings > General.

  • To govern a setting, select the check box or toggle next to it.
  • 要允许 Studio 用户编辑设置,请选中“允许用户覆盖”。这将使策略中的设置重置为默认设置,但允许用户更改它。

提供以下设置:

  • Send anonymous UI Descriptors - Select Yes to enable the sending of anonymous UI descriptors created using the Object Repository.

功能切换

Select the Feature Toggles tab to control settings that are not available in the Studio UI and can only be configured using governance policies, such as setting a limit for the number of consecutive runs that can be triggered from StudioX, hiding certain activities from StudioX users, or enabling the collection of usage data in Application Insights in your organization's Azure portal.

📘

备注:

Only the options in the General Settings section are available in policy template versions prior to 21.10.0.

常规设置

  • Allow users to send feedback - Select Yes to enable the Send feedback form that users can access from the Studio title bar. This option is enabled by default.
  • “隐藏开始使用界面”- 选择“是”可启用欢迎屏幕,其中包含 UiPath Academy、介绍视频和用户打开 Studio 时显示的教程的链接。即使启用了此屏幕,用户仍可以在首次显示后禁用它。默认情况下启用此选项。

Control What Activities Are Available (StudioX Policies Only)

The following settings enable you to prevent the use of certain activities in StudioX:

  • Show “Developer Panel” - Select Yes to allow enabling the Show Developer filter in the Activities panel which gives users access to activities that were not designed for StudioX.
  • Activities to hide - Enter a list of activities that you want not to be available to users. Add the activity namespaces (e.g. UiPath.Excel.Activities.Business.WriteRangeX) separated by comma (,). The activities added to this list are hidden in all projects where the package they are included in is installed as a dependency.

Collect Telemetry Data

If you want to monitor and analyze what users in your organization are doing in Studio, you can set up an Application Insights resource in your Azure portal and configure Studio to send telemetry data to it. To enable this feature, simply enter the instrumentation key of your Application Insights instance in the Application Insights target text box.

有关发送到 Application Insights 的遥测数据的信息,请参阅下表。

操作

事件名称

已收集数据

Studio 已启动

Studio 已启动

Windows 用户 ID
会话 ID

Studio 已关闭

Studio 已关闭

Windows 用户 ID
会话 ID
会话时长

已打开项目

打开项目

Windows 用户 ID
会话 ID
项目名称

已创建项目

新建项目

Windows 用户 ID
会话 ID
项目名称

已运行项目/已运行文件

启动调试

Windows 用户 ID
会话 ID
项目名称

已执行“运行至此活动”

Designer_RunTo

Windows 用户 ID
会话 ID
项目名称

已发布项目

发布项目

Windows 用户 ID
会话 ID
项目名称
Orchestrator URL
文件夹名称
发布位置(订阅源)

已安装活动包

已添加包

Windows 用户 ID
会话 ID
包名称
包版本
项目名称

活动已添加到项目中

S.Activities.ActivityAdded

Windows 用户 ID
会话 ID
活动名称
包名称
包版本

已在“用户界面自动化”活动中指明目标

S.Activities.PropertyChanged

Windows 用户 ID
会话 ID

Prevent Production Runs (StudioX Policies Only)

The following settings enable you to limit the number of consecutive runs that can be triggered from StudioX for a project that has no changes, and to configure logging settings for events where the limit is exceeded.

  • Permitted consecutive runs with no change - Maximum number of consecutive times a project without changes can be run from Studio.
  • Dialog message prompts for users - Message to display to the user in a dialog box when the allowed number of consecutive executions is exceeded. The dialog box prompts the user to either publish the project or cancel the execution.
  • Queue name to store the run count - Orchestrator queue in which to log information when the allowed number of consecutive executions is exceeded. The following information is logged for each event: username, project name, hash of the main XAML file, and timestamp from the local machine.
  • Folder location of the queue - Orchestrator folder containing the queue in which to save the records.

管理源

选择“管理源”选项卡以配置与包来源相关的以下设置:

  • “允许用户添加或移除订阅源”- 选择是否允许用户添加和删除包来源。默认情况下启用此选项。
  • “允许用户启用或禁用订阅源”- 选择是否允许用户启用和禁用包来源。默认情况下启用此选项。
  • “附加 Orchestrator 订阅源”- 选择是否自动启用 Studio 中的 Orchestrator 租户订阅源(在 Orchestrator 中启用了租户库订阅源时可用)和 Orchestrator 主机订阅源。默认情况下启用此选项。
  • 配置 Studio 中可用的包来源。默认情况下添加“官方”和“连接”(UiPath 市场)订阅源。
    • 要添加新订阅源,请单击“添加其他”,提供以下信息,然后单击“保存”
      • 选择是要启用还是禁用订阅源。
      • 输入订阅源的名称。
      • 输入源 URL。
    • 要编辑订阅源,请单击该订阅旁边的“编辑”
    • 要删除订阅源,请单击该订阅源旁边的“删除”

工作流分析器

Select the Workflow Analyzer tab to configure which Workflow Analyzer rules to enable, set the action, and configure parameters. The rules that are enabled by default in each Studio profile are also enabled by default in the policies for that profile, together with their default parameters, if applicable. For more information, read about the Workflow Analyzer in the Studio and StudioX guides.

工作流分析器常规设置

  • “允许用户覆盖”- 如果启用,则允许用户更改工作流分析器设置。默认情况下启用此选项。
  • “参考或嵌入”- 选择如何在策略中定义工作流分析器规则和计数器的设置:
    • Referenced - Define the settings using a JSON file configured similarly to the RuleConfig.json file. If you select this option, indicate the full path to the file in the Referenced Rules file box.
    • “嵌入”- 使用策略页面上的选项定义设置。这是默认选项。

管理工作流分析器规则

如果选择了“嵌入”选项:

  • 要添加新规则,请单击“添加其他”
  • 要编辑规则,请单击该规则旁边的“编辑”
  • 要删除规则,请单击该规则旁边的“删除”

配置工作流分析器规则

对于每个规则,配置以下选项,然后单击“保存”以应用更改:

  • 已启用 - 选择是否启用规则。
  • “代码”- 输入规则代码。
  • “默认操作”- 选择规则的默认操作:“Error”、“Warning”、“Info”或“Verbose”
  • “参数”- 配置规则参数:
    • 要添加新参数,请单击“添加其他”
    • 要编辑参数,请单击该参数旁边的“编辑”
    • 要删除参数,请单击该参数旁边的“删除”

对于每个参数,配置以下选项,然后单击“保存”以应用更改:

  • “名称”- 输入参数名称。
  • “使用默认值”- 选择此选项以使用 Studio 中默认可用的参数值。要使用自定义值,请取消选择此选项,然后在提供的文本框中输入值。

To find out how to configure the default Workflow Analyzer rules, read about the rules included in Studio, the UiPath.UIAutomation.ActivitiesUiPath.Excel.Activities, and UiPath.Mail.Activities packages.

位置

Select the Location tab to configure settings found in Home (Studio Backstage View) > Settings > Locations.

  • To govern a setting, select the check box or toggle next to it, and then use the provided text box to enter the location. If no location is provided, the default location in Studio is used.
  • 要允许 Studio 用户编辑设置,请选中“允许用户覆盖”。这将使策略中的设置重置为默认设置,但允许用户更改它。

提供以下位置设置:

  • 项目路径 - 创建项目的默认位置。
  • 发布流程 URL - 选择自定义订阅源选项时发布流程的默认位置。
  • 发布库 URL - 选择自定义订阅源选项时发布库的默认位置
  • 发布项目模板 URL - 选择自定义订阅源选项时发布项目模板的默认位置。
  • “工作流分析器规则位置”- 要从中将自定义工作流分析器规则添加到 Studio 的文件夹的路径。

团队

📘

备注:

The settings on the Team tab are available starting with the 21.10.0 policy template version.

Select the Team tab to configure and enforce allowed repositories for working with Git source control.

配置以下内容:

  • Allow saving a project locally (For StudioX policies only) - Select True to allow users to save projects on their machine outside of local repositories. When set to False, users can't select This PC as the location when creating a new project in StudioX.
  • Allow editing locations of source control repositories - Select True if you want users to be able to edit the repository locations they use for their projects. Select False if you want only the allowed repositories to be available to users.
  • Create a list of allowed repositories. For each location you want to add to the list, select Add location, provide the following information, and then click Save to apply the changes:
    • Repository name - Enter a name for the repository.
    • Repository URL - Enter the URL of the repository. Adding a base URL (e.g. https://github.com/MyOrg/) allows the use of repositories with child URLs (e.g. https://github.com/MyOrg/RPA).
    • Default repository folder (For StudioX policies only) - Optionally, enter a default folder for the location.

When adding locations, take into account that:

  • Any strings placed between % in the name and URL fields are interpreted as environment variables on the user machines. For example, this allows you to create repositories for each user named with the same pattern as the Windows username (e.g. first_name.last_name), and then use the %username% variable for both the name (e.g. %username%'s Repo) and URL (e.g. https://github.com/MyOrg/%username%).
  • All spaces in the URL field are replaced with hypens (-). Using the previous example with %username%, if usernames contain a space (first_name last_name), the URL resolves to first_name-last_name.

约一个月前更新

Settings for Studio Policies


建议的编辑仅限用于 API 参考页面

您只能建议对 Markdown 正文内容进行编辑,而不能建议对 API 规范进行编辑。