订阅

UiPath 活动

UiPath 活动指南

核心活动拆分

Starting with the v2018.3 release, the Core Activities Pack is split into two distinct packages, UiPath.System.Activities and UiPath.UIAutomation.Activities. This has been done with the intention of offering you more control over which activity versions you use in the execution of your automation projects. In correlation with the Project Dependencies feature, this split enables you to choose exactly the version of activities you want to use as a dependency for your project.

每当使用 Studio v2018.3 或更高版本打开 Studio v2018.3 之前的版本所创建的项目时,系统都会自动迁移项目,并用新版系统包和用户界面自动化包替换旧版核心包。

Remember to properly migrate your processes when updating the 2018.3 UiPath Platform. The dependencies and activities installation algorithm has improved, which can cause conflicts when executing processes with packages installed from local feeds. If you encounter any issues while updating, check out possible solutions on this page. Also, remember to check out how to Open Projects Created with Previous Versions.

📘

Important!

执行迁移后,您便无法将项目还原为使用旧版核心包的状态。

从 Studio v2018.3 或更高版本开始,您便无法通过包管理器安装核心包。但请放心,“UiPath.System.Activities”和“UiPath.UIAutomation.Activities”包中仍包含旧版活动包中的所有活动。另外,无论之前使用哪一版 Studio,从 v2018.3 开始,您都可以使用任意组合的活动包版本。

📘

Important!

在使用 v2018.3 或更高版本发布项目后,v2018.2 或更低版本的机器人便无法执行该项目。

Please note that the location of the tessdata folder which is used to install languages for the Google OCR engine has been moved from %ProgramFiles(x86)%\UiPath\Studio\tessdata to %UserProfile%\.nuget\packages\uipath.vision. You can read more about installing and changing the language for the Google OCR engine on this page.

For more information on how this change impacts Studio, you can read more here.

旧有核心活动

“旧有核心活动包”(“UiPath.Core.Activities”元数据包)是作为“核心活动拆分”的结果创建而成,用于确保“旧有进程”与 v2018.3 或更高版本的机器人兼容。“旧有核心活动”与“旧有进程”的定义如下:

  • “旧有核心活动”- 从 v2018.3 版开始提供“UiPath.Core.Activities”元数据包。每当 v2018.3 或更高版本的机器人执行“旧有进程”时,该活动包都会引用“UiPath.System.Activities”和“UiPath.UIAutomation.Activities”包。
  • “旧有进程”- 使用 Studio v2018.2 或更低版本创建的进程,其使用旧版“UiPath.Core.Activities”包作为依赖项。

当机器人解析依赖项时,其会搜索“用户界面自动化”包与“系统”包。如果这两种包均不可用,机器人便会使用“最低适用版”运行时规则来确定要使用的“用户界面自动化”包与“系统”包版本,而该版本需高于默认版。

使用不同的“用户界面自动化”包

如果执行进程需要不同版本的“UiPath.UIAutomation.Activities”包,则您需从以下位置删除 UiPath.UIAutomation.Activities v18.3.6897.22543 包并将其替换为所需的包:

  • Orchestrator 订阅源。
  • The default packages location - %Program Files (x86)%\UiPath\Studio\Packagesin versions prior to 2021.4 or%Program Files%\UiPath\Studio\Packages` starting with version 2021.4.
  • NuGet 缓存 -“%userprofile%\.nuget\packages\uipath.core.activities”。

如果机器人可以访问互联网,则必须删除“nuget.config”文件中的官方订阅源,以防止机器人再次下载文件。

Read more about Managing Packages.

解析“旧有进程”

If you have processes created with Studio v2018.3.1 which were using the UiPath.UIAutomation.Activities v18.3.6864.20582 package, you must open them in Studio and update the UiPath.UIAutomation.Activities package. Read more about it here.

If you ever used Studio v2018.3.1 with legacy processes, the UiPath.UIAutomation.Activities v18.3.6864.20582 package needs to be removed, as explained on this page.

Updated 19 days ago


核心活动拆分


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

You can only suggest edits to Markdown body content, but not to the API spec.