- 发行说明
- 入门指南
- 教程
- 自动化项目
- 创建自动化
- 故障排除
发布日期:2022 年 5 月 9 日
新特性和改进功能
模板更新
We’ve updated the templates feature within StudioX with a focus on usability. The Templates section on the StudioX Start Page now contains more templates that you to choose from to start your task.
“模板”选项卡已更新了一个新类别(入门指南),其中包含一系列可重用的任务,旨在帮助您开始使用 StudioX。每个模板中添加到活动的注释包含有关活动目的及其配置方法的额外信息。
可自定义的字段
We’ve added customizable fields to our templates, allowing a template to become a sample task with activities in place that you can configure by filling in the blank fields with your data.
When creating a template, you can mark and unmark fields as customizable by using the Plus
menu and selecting Mark as customizable or Unmark as customizable. Customizable fields are marked with an icon and the data inside is cleared when the template is published.
从已保存的值到变量
Starting with StudioX 2022.4, Variables replace the default terminology for Save Value for Later Use. The core functionality remains the same, however, you can now select the data type when creating a variable and change it later in the automation manually or by using an activity.
一些活动及其术语已更新:
- The Save For Later activity has been renamed to Set Variable Value.
- Save for later and Use Saved Value displayed in the Plus
menu have been updated to Create Variable and Use Variable. - Data Manager 中“已保存的值”现在显示为“变量”。
Data Manager 增强功能
We’ve made some changes to the Data Manager in order to expand on some of the existing functionality. We’ve grouped together the options allowing you to add data to a task under the New option at the top of the panel. You can now add variables, arguments and connect to an Excel file directly from the New option.
数据类型管理
You can now see the data type, edit, and delete variables and arguments from the Data Manager panel by right-clicking on a variable or argument and selecting the desired option.
您还可以通过在面板中展开变量和参数来直接在 Data Manager 中对其进行管理。
资源面板
“资源”面板已替换为“Data Manager”面板。Orchestrator 资源(资产、流程、队列)现在在 Data Manager 中可用,其功能与“资源”面板中的功能相同。您只需将资产拖放到任务中或将其添加到活动中。队列和流程需要在“活动”面板中启用“显示开发者”标志。
不使用时,您可以使用“筛选器”将其从面板中隐藏。
Excel 自动化
新活动
- 匹配功能 - 在一定范围的单元格内搜索指定项目,然后返回该项目在该范围内的相对位置。
改进
- 现在,当无法在 Excel 中执行复制或粘贴操作时,“复制/粘贴范围”和“附加范围”活动会捕获错误并显示错误消息。
- 使用 Excel 文件活动在属性面板中添加了一个新选项,称为保持 Excel 文件打开。如果 Excel 文件在项目运行时未打开,则在项目运行完成后,它会保持工作簿打开状态,而不会关闭它。如果您之后要查看文件,可以使用此选项。
- 您现在可以将整个工作表指定为“创建透视表”活动的来源。
- 创建透视表和刷新透视表活动更新了一项新选项布局,该选项允许您更改透视表的布局和格式。可用选项包括:压缩、表格和大纲。
邮件自动化
新活动
- 按 ID 获取电子邮件 - 检索具有指定 ID 的电子邮件。
改进
- The Save Email Attachments activity has been updated with a new option, Exclude Inline Attachments. If selected, inline attachments (i.e. attachments embedded in the email body) are not saved.
- 使用 Outlook 365和使用 Gmail活动现在允许您通过 Integration Services 访问 UiPath Orchestrator,从而使用多个帐户连接。默认选项已替换为连接名称。
- 使用 Outlook 桌面应用程序活动在属性面板中更新了一项新选项,该选项称为帐户不匹配行为。您可以通过选择以下可用选项之一来指定无法匹配指定电子邮件帐户时活动的行为: “使用默认电子邮件帐户” 和“失败” 。
- “遍历电子邮件”活动更新了一项新选项,该选项为“检索附件” 。如果选中,检索电子邮件时还会检索附件。
- 在使用 Outlook 365、使用 Gmail 和使用 Outlook 桌面应用程序中使用时,
Uid和Message-ID标头在“遍历电子邮件”活动返回的MailMessage对象中可用。 - “保存附件”和“保存电子邮件附件”活动更新了一项新选项,该选项为“排除内联附件” 。如果选中,则不会保存内联附件(即电子邮件正文中嵌入的附件)。
- “读取范围” 活动中“保存至”字段的工具提示已更新,其中包含有关在复制到剪贴板后粘贴数据的附加信息。
- 邮件活动包已升级为使用 Google API 1.55.0 版。
- You can now add UIAutomation activities inside a Use Desktop Outlook App activity to quickly automate the interface of Outlook.
- 当在“使用 Gmail” 活动中使用时,具有文件夹浏览器的邮件活动现在会显示“草稿箱” 和“垃圾箱” 文件夹。
PowerPoint 自动化
改进
- 已将“新形状名称”选项添加到“添加图像或视频至幻灯片” 、 “将项目粘贴到幻灯片”和“添加文件到幻灯片”活动中,用户可以使用该选项更改添加项目的内容占位符的名称。
- 幻灯片内容格式活动更新了新的可用修改,该修改为 更改形状名称,可用于更改演示文稿中所选形状的名称。
- 在“向幻灯片添加文本” 活动中添加了一个名为“清除内容占位符中的现有文本” 的新属性。如果选中,则会在添加新文本之前清除内容占位符中的文本。
Word 自动化
改进
- You can now add UIAutomation activities inside a Word Application Scope / Use Word File activity to quickly automate the interface of Microsoft Word.
OneDrive 和 SharePoint 自动化
改进
- Office365 活动包已更新为使用 Microsoft Graph API 版本 4.11.0。
- A new contextual menu is available for InArgument<String> properties used within the For Each File/Folder activity. For example, you can use the Write Line activity inside the For Each File/Folder activity to be able to access the following properties: Name, Web Url, Creation date, and Last modified date.
- “遍历文件/文件夹”活动更新了一个名为“包括子文件夹”的新参数,可用于指定是否展开搜索以包括所选云位置的所有子文件夹。
- “使用 OneDrive 和 SharePoint”活动现在允许您通过 Integration Services 访问 UiPath Orchestrator,从而使用多个连接。“默认”选项已替换为连接名称。
- 在 下载文件 活动中, 下载为文件 字段标签已更改为 下载位置 。
Google Workspace (G Suite) 自动化
改进
- 使用 Google 文档、使用 Google 电子表格和使用 Google Drive活动现在允许您通过 Integration Services 访问 UiPath Orchestrator,从而使用多个帐户连接。默认选项已替换为连接名称。
- “上传文件”活动更新了一项名为“转换为 Google Workspace 文件类型” 的新选项,可用于将上传的文件转换为 Google Workspace 文件类型,例如 Google 文档或电子表格。
- Google GSuite 活动包已升级为使用 Google API 1.55.0 版。
常见活动
新活动
- Else If - Evaluates a condition added using the Condition Builder and executes one or more activities specified in the Then branch when the condition is met. If the condition is not met, additional Else If branches can be added that contain their own Condition and Then branches. Multiple Else If branches can be added in cases where multiple conditions need to be checked. Optionally, an Else branch can be added at the end of the activity which is executed if none of the previous conditions were met.
- 更改类型 - 将变量的类型更改为另一种类型。
改进
- The Select File activity has been renamed to Browse for file.
- Added a new property named Skip folders where access is denied inside the For Each Folder in Folder and For Each File in Folder activities. If selected, folders where the access is denied are automatically skipped. This option is not selected by default.
其他改进
- 在 StudioX 中选择多个活动时,高亮显示边框已得到改进,具有更好的可见性。
- 我们改进了当用户无法通过监管在本地保存新项目且未配置存储库时出现的错误消息,并添加了在单击“确定”以解决问题后重定向到“团队”选项卡的问题。
- “团队”选项卡中的“名称”和“Url”字段已更新,不再显示为可编辑。
- A new option has been added to the Plus
menu for fields that support conditional statements, called True / False. The available options are TrueandFalse. - 在“等待下载”活动中添加了一个名为“忽略文件扩展名”的新属性。在此字段中,您可以指定在下载完成之前应忽略哪些文件扩展名。请参阅“等待下载”文档了解更多信息。
- “Else If”活动现在在 StudioX 配置文件中可用。
- A new common scenario has been added, called Paste Excel chart into Powerpoint. It adds a Get Chart activity that selects a chart from an Excel file and copies it to clipboard, and a Paste Item into Slide activity that inserts the saved Excel chart into a PowerPoint presentation.
错误修复
- 现在,将“允许编辑存储库”监管规则设置为“False”可阻止用户在“团队”选项卡中启用或禁用已可用的存储库。
- 连续使用两个或多个“保存电子邮件附件”活动时,“保存电子邮件附件”活动无法筛选附件。
- Searching for activities using the Add Activity Search Bar returned the
Object reference not set to an instance of an objecterror message in certain cases. - 处理包含数百行以上的 Excel 文件时,“删除行”活动失败。
- 在“遍历 Excel 工作表”活动中添加“退出循环”活动时,生成错误。
- 使用“复制/粘贴范围”活动时,在某些情况下未正确复制范围。
- 将“刷新透视表”活动与通过 Excel 中的 Power Query 创建的透视表一起使用时,该活动将失败。
- 连续使用两个或多个“保存电子邮件附件”活动时,“保存电子邮件附件”活动无法筛选附件。