UiPath Documentation
activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

生产力活动

Activities (活动)

概述

使用以下列表查看每个类别下 Google WorkSpace 活动包中包含的所有跨平台活动:

Studio Windows 项目中也提供这些活动。

备注:

这些活动使用Integration Service连接。

使用跨平台活动

跨平台类别中的活动专为 Studio 网页版和 Studio 桌面版中的跨平台项目而设计。

连接到您的 Google Workspace 帐户

添加使用 Integration Service 连接器与在线应用程序交互的活动时,您必须为要在该活动中使用的帐户选择连接。“连接 ID”配置字段设置在每个 Google Workspace 跨平台活动中使用的 Google Workspace 帐户的连接。

G Suite 活动使用以下连接器:

根据是否已在 Integration Service 中为连接器设置连接,可能会发生以下情况之一:

  • “不存在连接” - 系统会提示您在活动中添加连接。从连接下拉列表中,选择“添加新连接”以启动身份验证流程并启用所需的权限。有关更多信息,请参阅您要使用的连接器的Integration Service 文档
  • Connections already exist - Select a connection from the connection drop-down in the activity. The connection that is set as default is automatically selected. To add a new connection, select Add new connection from the drop-down.
  • A connection is selected but is invalid - If a connection is selected, but no additional properties are available in the activity, this indicates the connection is broken. From the connection drop-down, select Manage connections to go to the Integration Service and fix the connection.

使用“遍历循环”活动遍历项目

“遍历”活动( “遍历事件”“遍历文件或文件夹” 、“遍历电子邮件” 、“遍历电子表格中的每个工作表”“遍历电子表格中的每一行”)对以下文件、文件夹、电子邮件或项目执行一个或一系列活动指定的 Google 云端硬盘位置。

“遍历”活动的主体中,您可以使用名为CurrentItem变量,该变量引用所包含集合中的每个项目。

添加要在“遍历”活动的“主体”部分中重复执行的活动。配置这些活动时,通过为项目选择CurrentItem变量,指明您要处理迭代中的每个项目:

  • “遍历事件”主体中的 CurrentEvent
  • “遍历文件/文件夹”主体中的 CurrentItem
  • “遍历电子邮件”主体中的 CurrentEmail
  • “遍历电子表格中的工作表”主体中的 CurrentSheet
  • “遍历电子表格中的每一行”主体中的 CurrentRow

日历活动

设置开始和结束日期及时间

Activities such as Create Event let you choose the start and end date and time of that particular event. To set a start or end date and time, select the calendar icon next to the field to open the calendar widget and select the date and time. Alternatively, select the Plus button menu to use a variable. In Studio Web, you can also use one of the predefined snippets (Today, Yesterday, Tomorrow, StartOfNextWeek, StartOfNextMonth, Now).

“Google 表格”活动。

Google Workspace 跨平台活动提供了创建数据、提取数据并将数据插入到 Google 表格(例如单元格、范围和工作表)中的方法。

范围类型

诸如“读取范围”“写入范围”“遍历电子表格中的每一行”之类的活动让您可以使用电子表格中指定单元格范围的数据。

There are several types of ranges that you can use: Range (named ranges whose scope is limited to a given spreadsheet), Sheet (entire sheets), or Default (which includes all the previous types and lets you manually enter a custom range, e.g., Sheet1!A1:B6).

指定文件夹或文件

To indicate a specific folder or file to use in an activity, select the folder icon inside the fields that support it to navigate through your Google Drive or Gmail files and folders.

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新