Activities
latest
false
Productivity Activities
Last updated Jul 9, 2024

Run Script

UiPath.GSuite.Activities.RunScript

Description

Runs a function in a Google AppsScript project. The script project must be deployed for use with the Apps Script API and the calling application must share the same Cloud Platform project.

Project compatibility

Windows - Legacy | Windows

Configuration

Properties

Common
  • ContinueOnError - If set, the remaining activities are executed if the current activity fails. This field supports Boolean values.
  • DisplayName - The display name of the activity. This property supports String variables and string formatted values.
Input
  • Function - The name of the function to execute in the given script. The name does not include parentheses or parameters. It can reference a function in an included library such as Library.libFunction1. This property supports String variables and string formatted values.
  • Parameters - The parameters to be passed to the function being executed. The object type for each parameter should match the expected type in Apps Script. Parameters cannot be Apps Script-specific object types (such as Document or Calendar), they can only be primitive types such as string, number, array, object, or boolean.
  • Development ID - The ID of the deployment to be executed. This property supports String variables and string formatted values.
  • Development mode - Select if you want to run a script in development mode, instead of production mode. Boolean value, default: False. If you enable this field, the Development ID is automatically replaced by the Script ID parameter.
  • Script ID - The script project's Drive ID. This property supports String variables and string formatted values.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level. This field supports Boolean values.
Output
  • ReturnValue - The function's return value.
  • Description
  • Project compatibility
  • Configuration

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.