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

生产力活动

上次更新日期 2025年9月16日

运行脚本

UiPath.GSuite.Activities.RunScriptConnections

描述

运行 Google AppsScript 项目中的函数。必须将脚本项目部署为与 Apps 脚本 API 一起使用,并且调用应用程序必须共享同一个 Cloud Platform 项目。

要了解如何配置 Google Workspace 脚本,请查看使用 Apps 脚本 API 执行函数

作用域

此活动需要以下任一作用域:

  • https://www.googleapis.com/auth/drive
  • https://www.googleapis.com/auth/documents
  • https://www.googleapis.com/auth/forms
  • https://www.googleapis.com/auth/spreadsheets
  • https://www.googleapis.com/auth/sqlservice
  • https://mail.google.com/
  • https://sites.google.com/feeds
  • https://www.googleapis.com/auth/groups
  • https://www.googleapis.com/auth/userinfo.email
  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/script.projects
  • https://www.googleapis.com/auth/script.projects
  • https://www.googleapis.com/auth/script.webapp.deploy
  • https://www.googleapis.com/auth/script.storage
  • https://www.googleapis.com/auth/script.send_mail
  • https://www.googleapis.com/auth/script.external_request
  • https://www.googleapis.com/auth/script.cpanel
  • https://www.googleapis.com/auth/forms.currentonly
  • https://www.googleapis.com/auth/dynamiccreatives
  • https://www.googleapis.com/auth/documents.currentonly
  • https://www.googleapis.com/auth/admin.directory.user
  • https://www.googleapis.com/auth/admin.directory.group
  • https://www.google.com/m8/feeds
  • https://www.google.com/calendar/feeds
  • https://apps-apis.google.com/a/feeds/groups/
  • https://apps-apis.google.com/a/feeds/alias/
  • https://apps-apis.google.com/a/feeds

项目兼容性

Windows | 跨平台

配置

  • “Google 云端硬盘连接”- 要在活动中使用的 Google Workspace 帐户连接。
  • 部署 ID - 要执行的部署的 ID。此属性支持String变量和字符串格式的值。
  • 函数- 要在给定脚本中执行的函数的名称。名称不包含括号或参数。它可以引用包含的库中的函数,例如Library.libFunction1 。此属性支持String变量和字符串格式的值。

属性

输入
  • 开发模式- 选择是否要在开发模式而不是生产模式下运行脚本。布尔值,默认值:False。如果启用此选项,它会将“开发 ID”字段替换为“脚本 ID”字段。
  • “参数” - 要传递给正在执行的函数的参数。每个参数的对象类型应与 Apps 脚本中的预期类型匹配。参数不能是特定于 Apps 脚本的对象类型,例如DocumentCalendar 。它们只能是原始类型,例如stringnumberarrayobjectboolean
输出
  • 结果- 函数的结果。
  • 描述
  • 项目兼容性
  • 配置

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo
信任与安全
© 2005-2025 UiPath。保留所有权利。