UiPath Documentation
activities
latest
false
Integration Service アクティビティ
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

Run a Notebook

Run a Notebook activity in the Databricks connector.

プロジェクトの対応 OS​

Windows | クロスプラットフォーム

概要​

説明API メソッド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.POST/jobs_runs_submit

入力​

パラメーター説明データ型
Run NameOptional name for the one-time run. For example, nightly_ingest.string
タスクMulti-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.配列
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
ライブラリLibraries to install before the notebook runs, for example [{"pypi":{"package":"requests"}}].配列
Timeout SecondsMaximum time in seconds the run is allowed to take before it is cancelled. For example, 3600.integer
Idempotency TokenGuarantees at-most-once submission for the same token. For example, 8f0a1b2c-3d4e-5f60-7a8b-9c0d1e2f3a4b.string

出力​

パラメーター説明データ型
Run IDServer-assigned run id; poll it with Get a Job Run.integer
Number in JobSequence number of this run within the job.integer
注:

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.

  • プロジェクトの対応 OS​
  • 概要​
  • 入力​
  • 出力​

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得