- 发行说明
- 入门指南
- 教程
- 自动化项目
- 创建自动化
发行日期:2020 年 10 月 28 日
新特性和改进功能
PowerPoint 自动化
You can now create and edit PowerPoint presentations using Presentations activities.
邮件自动化
自动化 Gmail 和 Outlook 365
StudioX has expanded its mail automation capabilities with the addition of Gmail and Outlook 365 support. All you need to do is define the account to use by adding a Use Outlook 365 or Use Gmail activity, and then add activities to automate inside it. All existing activities that previously worked with the desktop version of Outlook have been updated to also support Gmail and Outlook 365. For this release, Gmail and Outlook 365 require that you use your organization's application IDs.
改进
- “遍历电子邮件”活动提供了一个新的筛选选项,让您可以只遍历含附件的电子邮件。
- The Date (as text) email field can now be selected from the Plus
menu of input fields for activities added inside Use Desktop Outlook App. You can use the date of the email selected in Outlook or that of the current email when iterating through Outlook emails.
Excel 自动化
全局 Excel 资源
You can now add an Excel file to your project as a global resource by connecting the project to the file. When a project is connected to an Excel file, all activities in the project can access and modify the file. You can still add Excel files to automations with the Use Excel File activity, in which case only activities added inside the container can modify the files.
新活动
- 更改透视表数据源 - 更改透视表的源数据范围。
- 将 Excel 文件另存为 - 将添加到项目或“项目笔记本”的工作簿另存为文件。您可以指定文件名和要另存的文件格式。
- 清除工作表/范围/表格 - 清除指定工作表、范围或表格中的数据。
- 读取单元格值 - 从电子表格单元格中复制值。
- 读取单元格公式 - 从电子表格单元格中复制公式。
- 遍历 Excel 工作表 - 对 Excel 工作簿中的每个工作表重复一个或多个活动。
- 查找第一个/最后一个数据行 - 查找数据起始行和包含指定工作表、范围或表格中数据的最后一行的行号。
- Write Range - Writes a data table that was saved for later, or values from an Excel table or range into another range.
改进
- We have made a few updates to improve the experience of working with the Project Notebook:
- 现在在 Studio 界面中简称为“笔记本”。
- The Notebook entry in the Plus
menu and the Data Manager now displays whether or not it is configured so that changes to the file are saved at the end of the automation: Notebook (Save changes: on) or Notebook (Save changes: off).
- 现在,您可以直接与通过插入工作表活动添加的工作表交互。可用于“插入工作表”的将新工作表引用为字段用于保存对工作表的引用,以供以后在自动化中使用。
- “分列”活动现在支持使用换行符作为分隔符。
- 使用“自定义输入”选项选择 Excel 工作表时,不再需要手动输入工作表名称。现在,“工作表名称”字段是一个组合框,您可以选择要使用的工作表。如果为“使用 Excel 文件”活动定义的 Excel 文件是静态文件,或者该文件是动态文件并定义了模板,则此方法有效。
- If you select the Indicate in Excel option from the Plus
and the Excel Add-in is not installed or it cannot be accessed, you no longer have to manually navigate to Home > Tools to install or repair the add-in. Simply click the Yes button in the error dialog box that appears. - 现在,您可以配置“删除列”活动以删除多个列。
用户界面自动化
新活动
- Take Screenshot – Takes a screenshot of a specified UI element or application and saves it as an image file.
- Handle basic window manipulation tasks with the new Maximize, Minimize, Move, and Restore Window activities.
- The new SAP activities category brings a number of activities created specifically for SAP automation.
将变量添加到选取器
You can now create variables in container activities and add them to selectors in targets of UI automation activities.
文件自动化
新活动
- Compress/Zip Files - Adds files or folders to a compressed (zip) file.
- Extract/Unzip Files - Extracts all the contents of a zip file archive to a specified folder.
改进
- 现在,选择“获取文件信息”活动的输出时,可以使用“扩展”属性,以及在“遍历文件夹中的文件”活动中执行作业时,也可将其用于迭代中的当前文件。
Word 自动化
新活动
- Save Word File As - Saves a Word file added to the project as a different file. You can specify the file name and the Word file type to save as.
常见活动
新活动
- Get Asset - Gets a specified Orchestrator asset by using a provided AssetName.
- Group - Groups logically related activities and executes them in the order in which they are added.
- Input Dialog - Displays a dialog box that prompts the user with a message and an input field.
- Modify Text - Updates a text value using modifications including find and replace, trim, and combining (concatenating) with another text value.
- Save for Later - Saves a value for later use in the automation. The saved value can be used as input in another activity.
- Text to Left/Right - Retrieves the text to the left and right of the first occurrence of the indicated subtext.
创建和共享模板
You can now create and publish your own templates in the same way as you do processes. Sharing templates with others is as simple as publishing them to Orchestrator. You can access your templates and those shared by others from the new Templates tab in Studio.
数值计算
You can now do numeric calculations directly in StudioX without the need for Excel. On any input field that accepts a number, select the Number option in the Plus
menu, and then add mathematical formulas in the Numeric Calculation window. You can add formulas and use any method from the Visual Basic Math class (for example Math.Round(1.06,1)).
剪贴板集成
现在,您可以将活动的输出保存到剪贴板,稍后再将这些数据粘贴到自动化中的输入字段中:
- The Copy to clipboard option is available in the Plus
menu for fields that output text, number, DataTable, and Boolean values. Number and Boolean values are copied to the clipboard as text. - The Paste from clipboard option is available in the Plus
menu for input fields that accept text and DataTable values.
Microsoft Office Interop 修复工具
A new tool is available to help you fix Microsoft Office issues that cause errors when automating Excel, Outlook, Word, or PowerPoint. This tool generates a repair plan that can be either run by users with admin rights on their machines, or deployed by administrators in an organization to the machines of users who don’t have admin rights.
其他改进
- 为了让您能够更容易识别项目中的活动,每个活动现在都有一个唯一的标识号,可以反映其在项目工作流中的位置。该 ID 显示于每个活动的左上角。第一个活动的 ID 为 1,第二个活动的 ID 为 2,依此类推。对于添加到其他活动中的活动,该 ID 由父 ID 后跟小数点和数字组成。例如,如果项目中的第一个活动(ID = 1)包含其他两个活动,则其 ID 为 1.1 和 1.2。
- 我们重命名了一些活动和常见场景以阐明其目的:
- 常见场景“迭代访问电子邮件附件”现在称为“保存并处理附件”。
- 常见场景“迭代访问电子邮件”现在称为“对电子邮件重复操作”。
- 功能区中的“数据提取”选项现在称为“表格提取”。
- “将电子邮件标记为已读”活动现在称为“将电子邮件标记为已读/未读”。
- “复制/粘贴范围”活动现在称为“复制范围”。
- “下载文件”活动现在称为“等待下载”。
- “使用 Outlook 帐户”活动现在称为“使用 Outlook 桌面应用程序”。
- 现在,如果使用“文本生成器”配置一个接受文件路径或文件夹路径的字段,并且该路径包含文件名中不允许使用的字符,则会发生验证错误。无效字符为
newline : * ? " < > |",。
已知问题
-
如果在“发送电子邮件”、“转发电子邮件”或“回复电子邮件”活动中选择用作电子邮件正文的 Word 文档包含图片,则某些图片可能不会出现在发送的电子邮件正文中。
如果电子邮件正文中未能显示图片,请从以下解决方法中择一尝试:
- 打开 Word 文档,删除图片,然后再次添加图片。
- 将 Word 文档的扩展名更改为
.zip,解压缩档案,打开文件夹 word 中的文件 document.xml,搜索属性 r:link,然后将其删除(例如r:link="rId11")。保存文件,然后再次压缩提取的文件,并将扩展名更改回docx。
错误修复
- An error no longer occurs when you try to use the Indicate in Excel option in the StudioX profile with an Excel file from a OneDrive folder. In addition, please note that if a file from a OneDrive folder is open in Excel, the data in it cannot be accessed directly from the Plus
menu. To access named cells, named ranges, tables, and sheets from the menu, you must first close the file. - 如果使用 Outlook 桌面活动执行项目,同时未以相同权限运行 Microsoft Outlook 和 Studio,系统现在会显示错误消息,指出您必须以相同权限运行应用程序(均以 Administrator 身份或均不以 Administrator 身份运行)。
- 当您已经使用“在 Excel 中指定”直接从文件中为同一活动字段选择数据后,再次选择此选项时,Excel 功能区的 UiPath 选项卡中会将正确范围显示为当前选择。
- 现在,在“移动电子邮件”活动的“移动到”字段中,可以正确显示带有日语字符的 Outlook 文件夹名称。除
\和%之外,此字段中的字符不再被编码。如果在“文本生成器”中输入文件夹名称,并且名称包含字符\或%,则这些字符必须经过 URL 编码(分别为%5C和%25)。