UiPath Documentation
activities
latest
false
Wichtig :
Bitte beachten Sie, dass dieser Inhalt teilweise mithilfe von maschineller Übersetzung lokalisiert wurde. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

Produktivitätsaktivitäten

Run Script

Runs a Google Apps Script function.

Namespace: UiPath.GSuite.Activities.API

Assembly: UiPath.GSuite.Activities.API (in UiPath.GSuite.Activities.API.dll)

Syntax

IDictionary<string, object> RunScript(
	string scriptId,
	string function,
	IEnumerable<object> parameters = null,
	bool devMode = false
)
IDictionary<string, object> RunScript(
	string scriptId,
	string function,
	IEnumerable<object> parameters = null,
	bool devMode = false
)

Parameter

scriptId String : The deployment ID (or script ID when using dev mode) of the script to run.

function String : The name of the function to run in the given script.

parameters IEnumerable<Object> (Optional) : The parameters to pass to the function. Optional, default value is null.

devMode Boolean (Optional) : If true, runs the script in dev mode using the script ID. Optional, default value is false.

Rückgabewert

IDictionary<String, Object> - The result of the script execution.

  • Syntax
  • Parameter
  • Rückgabewert

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben