UiPath Documentation
studio
2023.4
false
Studio 用户指南
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

2023.4.0

发行日期:2023 年 4 月 27 日

新增功能

基于触发器的 Attended 自动化

Studio 现在包含一个基于触发器的 Attended 自动化解决方案,允许您通过对各种应用程序或用户事件使用触发器来构建响应迅速的自动化。全新的基于触发器的 Attended 自动化解决方案的优势包括:性能改进、能够同时自动化多个场景并同时运行这些场景。

The components of trigger-based attended automation include Forms, Callouts, Triggers, and Global Variables. These new capabilities offer a wide range of common use cases, such as contact center scenarios, feedback processes, and digital adoption platforms, among others.

表单

With the improved form capabilities, building and using forms has become easier and more varied. You can now create forms outside activities, display multiple forms at the same time, and set triggers to start based on form events. Additionally, you can choose to display a form while the workflow is running, edit and fetch form values at runtime, change form properties, and inject custom JavaScript into the form. To learn more about the new Form experience, see how Forms work inside the trigger-based attended automation ecosystem, and see the dedicated documentation.

标注

Attended 自动化中的新标注功能使您可以将用户引导至特定的用户界面元素并创建自定义验证。您可以使用表单文件创建标注,并指定要显示的目标用户界面元素。标注还可以将值传递给其中的元素。标注与表单非常相似,但更适合于导览和自定义验证等场景。

To learn more about the new way of building callouts, see the dedicated documentation.

触发器

Triggers now allow you to start workflows based on user or application events such as form events, application events, keypress events, click events, hotkey triggers, mouse triggers, click image triggers, system triggers, and SAP session attributes changed triggers. Additionally, you can automate multiple attended scenarios using the Run Local Triggers activity, Stop Local Triggers activity, Repeat Trigger activity, Disable Local Trigger activity, and Enable Local Trigger activity. Lastly, the Global Variable Changed Trigger activity now allows workflows to start when the value of a global variable changes. These new capabilities give you greater control over trigger-based attended automation in Studio.

To learn more about what you can achieve using the new trigger capabilities, see the Triggers section.

For more information on how to leverage the capabilities, see the Trigger-based Attended Automation chapter.

To get started with the new attended automation solution, see the dedicated tutorials, and the improved Attended Automation Framework template.

从所有官方包中搜索活动

现在,可以从所有可用的活动包中搜索,而无需提前安装包,从而可以更轻松地为项目找到合适的活动。此功能适用于已将 Studio 连接到 Automation Cloud Orchestrator 的跨平台项目。

The Activities panel now groups activities that are available in your project under the label Installed and activities that are included in uninstalled packages under Installable. To make searching even easier, activities packages also have more readable names.

You can add an installable package by right-clicking its name in the Activities panel and selecting Install. You can also double-click individual activities or drag them to the Designer panel. Packages are installed with the latest available version.

The Add Activity search bar was also updated to distinguish between activities that are installed and those that are available to install.

备注:

This feature is available for activities from the Official and Orchestrator Tenant feeds.

定义库中活动的值

You can now set predefined values for certain input types in the properties of custom activities created via libraries. For more information, see About Libraries.

支持 Microsoft Office 2021

Studio is now compatible with Microsoft Office 2021 and Office LTSC 2021. The Repair Tool for Microsoft Office now also supports Microsoft Office 2021.

按文件类型筛选项目文件

You can now filter the files in the project folder by file type. For example, you can select to view only workflow files. For more information, see About Automation Projects.

通过远程调试支持实时流

You can now see the actions performed by the robot in real time when debugging a project remotely using an unattended robot connection. A new remote debugging setting, Show Live Stream, lets you visualize and take control over how the robot is interacting with UI elements. This feature is particularly useful for troubleshooting and updating automations that are running in the production environment. For more information, see Remote Debugging.

显示所有活动的“属性”面板

In response to the feedback regarding the absence of the Properties panel from the new activity design unveiled with Studio 2022.10, we are excited to reintroduce the Properties panel for activities featuring the new design. This means that you now have the option to use the Properties panel to configure advanced properties regardless of the compatibility of your project. The Properties panel is enabled by default when you first start Studio. You can control the visibility of the panel by using the Show activities properties inline design setting. For cross-platform projects and some activities in projects with the Windows compatibility, the properties that were visible when selecting Show advanced options have been moved to the Properties panel. Organizations can use governance policies to control the visibility of the Properties panel.

从活动输出中自动生成的变量

到目前为止,要存储和使用活动的输出,您需要手动创建变量。在跨平台项目中,为了帮助您更快地构建工作流,Studio 现在会自动为每个活动输出创建一个变量,并为您提供在整个工作流中的其他活动中使用该变量的选项。系统仅会在使用时存储变量,这意味着生成变量不会影响性能或项目大小。

The generated variable is available for use in other activities in the Expression Editor and by selecting the Plus 文档图像 button > Use Variable in other editors and builders.

The activity outputs behave just like any other variable and are available in the Data Manager once used. They are displayed with their actual name and can be used in IntelliSense.

The Auto-generate Activity Outputs design setting gives you control over the automatic creation of activity outputs.

新的测试自动化功能

以独立方式调用模板化工作流

You can now invoke Execution Templates as isolated, by checking Invoke the templated workflow as isolated in the Set Execution Template dialog box.

自动生成的数据支持新参数

The Auto Generate data variation source now supports arguments of type Dictionary and Array (of all primitive values, including String, TimeSpan, and DateTime) in symbolic executions.

测试自动化项目模板

You can now use the new Test Automation Framework template as a starting point for your testing projects. This template guarantees that you cover the best practices of test automation while creating your projects. For more information, see Test Automation Framework.

改进

Data Manager 改进

支持 Data Manager 排序

You now have more freedom to group variables, arguments, and constants by dragging and dropping them in the Data Manager panel. The way you group these items becomes the default order for your project. The drag-and-drop feature is disabled when you select the Group items by scope menu option. This menu option is selected by default when you first open Studio.

To make sorting data in the Data Manager easier, we've also introduced a new menu option, Sort sections elements, which lets you sort data in each resource category by name (ascending or descending) or revert to the default order of your project. This option replaces sorting the Variables or Arguments sections individually.

Data Manager 刷新

Using the Refresh button at the top of the Data Manager panel now refreshes local resources independently from Orchestrator resources. This means that you can use resources that refresh instantly (variables, arguments, constants, and resources) while waiting for Orchestrator resources that can take longer to refresh. Refreshed resources are disabled while they are loading and become available after the loading finishes. Additionally, you can now use Studio while data is refreshing.

Data Manager 的其他改进

  • You can now right-click a global variable or global constant in the Data Manager and select Find References to find every place in the project where the global variable or global constant is referenced.
  • 新变量、参数、常量和命名空间现在显示为数据管理器中各自节点中的第一个项目。
  • 我们也对 Data Manager 面板中的数据更新方式做出了一些性能改进。

分离设计时依赖项和运行时依赖项

为了提高机器人性能并缩小已发布包的大小,现在将活动包和库分为设计包和 runtime 包。这意味着已发布的活动现在包含 Studio 使用的设计包和机器人使用的更精简的执行包。这种分离情况仅适用于 UiPath 官方支持的 Windows 和跨平台库和活动。

备注:

Custom libraries published in Studio 2023.4 are not guaranteed to be compatible with earlier Studio versions that do not support the separation between design time and runtime dependencies.

应用程序和 URL 跟踪

Studio can now track what external applications and URLs are targeted by an automation, providing insights into the automation workflow. This information is available for Windows and cross-platform projects after publishing in Orchestrator, Insights, and Automation Hub. App tracking requires the latest versions of activity packages to be installed and does not apply to activities included in XAML files that are ignored from publishing.

重要提示:

Erratum 21 December 2023: App tracking is an automatic process that is not visible in Studio. The app information that Studio collects can only be accessed in Orchestrator, Insights, and Automation Hub.

项目验证改进

现在,项目验证速度更快,使用的 RAM 和 CPU 资源也更少。此外,确认对话框现在会在您打开或验证某些 Windows 项目时提示您自动导入缺少的引用。

测试自动化改进

  • 将测试结果上传到 Test Manager 变得更加容易:

    For more information about uploading test results and screenshot to Test Manager, see Upload Test Results to Test Manager.

    • Local assertion screenshots now upload as well. After uploading, the screenshots display in Test Manager inside the Assertions tab of a test case result.
    • 现在,当您将测试结果上传至 Test Manager 时,对项目名称或测试用例名称做出的更改也会上传。
  • You can now find the Export as Library control in the design ribbon. Also, when you export projects as libraries, you can now select the specific workflows that you want to extract as a library.

  • When you’re in the Test Explorer, you can view a specific test case inside the Project panel, by selectingShow in Project Explorer from the test case contextual menu.

  • You can now create Execution Templates based on existent templates inside your project.

  • As part of managing your Studio projects, you can focus on the project element that is active in the Designer panel by clicking Sync with Active Document in the Project panel.

  • When you update Test Data that is already used inside a test case, you can now see the following text: (already in use).

其他改进

  • You can now link Studio projects to Automation Hub ideas from multiple Automation Cloud tenants.
  • 安装其他项目依赖项的速度更快。
  • 我们添加了新图标,以便更好地区分“项目”面板中不同类型的文件。
  • 现在,安装后 Studio 和 Assistant 后,系统会自动将这两个应用程序的快捷方式添加到桌面。
  • 升级到较新版本后,系统现在会保留针对 Studio 和 Assistant 而添加到“开始”菜单或任务栏的 PIN 码。
  • We added a Triggers filter option that you can select from the Filter by button at the top of the Activities panel. Selecting this option shows all the available triggers.
  • Activities Only is now the default filter when searching for activities packages from the Manage Packages window.
  • We added a new way to create constants by opening the Data Manager panel and selecting New > New Constant.
  • You can now use shared connections when designing projects that use Integration Service. The connection selector displays connections from your personal workspace, as well as those from shared folders in Integration Service.
  • Searching within a project using the Universal search bar is now significantly faster.
  • The main entry point is now opened by default in the Designer panel when a new project is created or when a project is opened in Studio. You can change this behavior by selecting a different option for the Open Project Behaviordesign setting. If no XAML file is set as the main entry point, Studio opens the most recent XAML.
  • The Include Sources compilation setting is now selected by default when publishing a Windows or cross-platform project.
  • 现在,在未连接到互联网的计算机上创建或打开项目的速度更快。

错误修复

  • Creating an argument from the Invoke Workflow File activity's Import Arguments panel sometimes did not work as expected in Windows - Legacy and Windows projects. Creating a variable in the Value field of the panel using the CTRL + K keyboard shortcut also did not work as expected.
  • 将项目从“Windows - 旧版”转换为 Windows 时,某些引用和命名空间未正确解析。
  • An error occurred when using the Test Activity action on an activity that provides a scope for other activities (for example, on Excel Application Scope) and clicking the Continue button to continue the debugging process.
  • An error occurred when clicking Open Workflow in the Invoke Workflow File activity in a project from a SVN repository.
  • 使用从 Windows - 旧版转换为 Windows 的库中活动运行 Windows 项目有时会导致 System.NotSupportedException 错误。
  • 调试或移动工作流中的活动时,切换属于自定义库的活动中的布尔值属性未保留其值(OnOff)。
  • 使用具有字符串数组输入类型的库中活动时,系统不会保存对字符串数组属性值做出的更改。
  • An error occurred when adding more than 16 array elements in the ArrayRow property of the Add Data Row activity.
  • 自动生成的数据进度未按预期显示。现在,系统会正确报告自动生成的数据进度。

已知问题

  • Using the Activities panel to search for trigger activities in projects created in Studio versions prior to 2023.4 does not show any results. To make triggers visible, enable the Triggers filter option from the Filter by button.
  • A Could not load file or assembly runtime error occurs when importing the namespace UiPath.Constants and using Project.Location in the project. Using the full namespace (UiPath.Studio.Constants.Project.Location) solves this issue.
  • 如果变量名称在整个项目中大小写不一致,则将 Windows - 旧版项目转换为 Windows 兼容性项目将失败(例如,对同一变量使用 Configconfig 会导致转换错误)。
  • 如果库包含具有名为 System 参数的工作流,则在编译过程中发布库将失败。
  • The Stop Local Triggers activity may not immediately stop the execution of all triggers when you debug a project with an action that suspends or slows the execution of the workflow (for example, Slow Step, Execution Trail, or Highlight Elements).
  • An error related to unremoved namespaces occurs when publishing an empty C# library or a C# library that contains only activities included in the Default Activities category.
  • Windows and cross-platform projects created in Studio versions prior to 2023.4, as well as Windows projects converted from Windows - Legacy projects created in Studio 2022.10 cannot be built or analyzed in an Automation Ops - Pipelines process. The projects need to be validated in Studio 2023.4 before using them in the pipeline process.

已删除的功能

  • 32 位版本的 UiPath Studio MSI 安装程序 (UiPathStudio-x86.msi) 不再可用。

活动包版本

UiPathStudio.msi 安装程序中包含以下活动包和版本,均可在本地订阅源中找到。

活动包版本
UiPath.UIAutomation.Activitiesv23.4.4
UiPath.System.Activitiesv23.4.2
UiPath.Excel.Activitiesv2.20.1
UiPath.Mail.Activitiesv1.18.2
UiPath.Word.Activitiesv1.16.0
UiPath.ComplexScenarios.Activitiesv1.4.0
UiPath.Presentations.Activitiesv1.11.0
UiPath.Testing.Activitiesv23.4.0
UiPath.WebAPI.Activitiesv1.16.2
UiPath.Form.Activitiesv23.4.3
UiPath.Callout.Activitiesv23.4.3

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新