UiPath Documentation
activities
latest
false
Actividades de Integration Service
Importante :
Este contenido se ha localizado parcialmente a partir de un sistema de traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.

Run a Notebook

Run a Notebook activity in the Databricks connector.

Compatibilidad de proyectos​

Windows | Multiplataforma

Información general​

Descripciónmétodo APIRuta de la API
Submit a one-time Databricks job run that executes a notebook. Use tasks[] (the only shape that supports serverless compute) or the legacy flat notebook_task with New Cluster / Existing Cluster ID.Publicar/jobs_runs_submit

Entrada​

ParámetroDescripciónTipo de datos
Run NameOptional name for the one-time run. For example, nightly_ingest.String
TareasMulti-task shape (recommended, and the only shape that supports serverless): [{"task_key":"t1","notebook_task":{"notebook_path":"/Users/me/nb","base_parameters":{"input":"x"}}}]. Omit any cluster spec to run serverless. Pass values to dbutils.widgets via base_parameters.Matriz
Notebook Task (legacy flat)Legacy single-task shape: {"notebook_path":"/Users/me/nb","base_parameters":{...}}. Requires a cluster - pair with New Cluster or Existing Cluster ID.object
Existing Cluster IDRun on an existing all-purpose cluster instead of a new job cluster. For example, 0712-215021-abc123de.String
New ClusterJob-cluster spec: {"spark_version":"15.4.x-scala2.12","node_type_id":"Standard_D3_v2","num_workers":2}. Not accepted on serverless-only workspaces.object
LibreríasLibraries to install before the notebook runs, for example [{"pypi":{"package":"requests"}}].Matriz
Timeout SecondsMaximum time in seconds the run is allowed to take before it is cancelled. For example, 3600.Entero
Idempotency TokenGuarantees at-most-once submission for the same token. For example, 8f0a1b2c-3d4e-5f60-7a8b-9c0d1e2f3a4b.String

Salida​

ParámetroDescripciónTipo de datos
Run IDServer-assigned run id; poll it with Get a Job Run.Entero
Number in JobSequence number of this run within the job.Entero
Nota:

You might see variations in the output depending on where you run the activity. In API workflows and Maestro Flow, a single response object containing all the fields is returned. In RPA workflows, not all fields are exposed, but you can still retrieve them from the exposed response object.

  • Compatibilidad de proyectos​
  • Información general​
  • Entrada​
  • Salida​

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado