studio
2025.10
false
- 发行说明
- 入门指南
- 设置和配置
- 自动化项目
- 依赖项
- 工作流类型
- 控制流程
- 文件比较
- 自动化最佳实践
- 源代码控件集成
- 调试
- 日志记录
- 诊断工具
- 工作流分析器
- 变量
- 参数
- 导入的命名空间
- 编码自动化
- 基于触发器的 Attended 自动化
- 对象存储库
- ScreenScrapeJavaSupport 工具
- 扩展程序
- Studio 测试
- 故障排除
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

Studio 用户指南
上次更新日期 2026年2月18日
使用库调用编码自动化
您可以在低代码 (XAML) 和编码自动化 (CS) 中重用编码自动化,方法是将其发布到库并在另一个项目中调用。
备注:
仅当导入的项目与原始库项目位于同一租户时,导出库的默认连接才适用于其他项目。
步骤
- 将同时包含低代码自动化和编码自动化的 Studio 项目发布到库。
在此示例中,我们将库视为myFavoriteLibrary。2. 打开其他项目,然后选择管理包。 3. 在“所有包”下,搜索并安装 myFavoriteLibrary。4. 在项目的“活动”面板中,根据要重用工作流的自动化类型执行以下步骤:
- 对于低代码自动化:将工作流从已安装的库包拖放到当前工作流中。
- 对于编码自动化:调用与库名称匹配的服务,并从已安装的库包中访问工作流。
备注:
服务名称始终以小写字母开头(例如
myFavoriteLibrary)。myFavoriteLibrary.<WorkflowFromThatLibrary>()myFavoriteLibrary.<WorkflowFromThatLibrary>()
- When you include the coded automation into another project as an invoked workflow in XAML files, you can modify its arguments. These arguments are available as properties inside the activity that invokes the coded automation. Optionally, you can also edit the arguments defined in the library as Activity Properties. To do this, go to the library project, right-click the workflow you wish to export, and select Activity Layout. This action displays the activity properties window that allows you to configure different options depending on the library compatibility (Windows-Legacy, Windows, Cross-platform). Unlike low-code automations, you cannot configure an icon or color for coded automations in libraries. Visit Configuring the Layout of an Activity for more information.
图 1. “活动属性”窗口,您可以在其中配置活动布局
