UiPath Documentation
uipath-cli
latest
false
UiPath CLI ユーザー ガイド
重要 :
このコンテンツは機械翻訳によって処理されています。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

uip maestro bpmn job

Syntax and options for `uip maestro bpmn job`, which streams execution traces and fetches detailed status for individual Maestro BPMN jobs.

uip maestro bpmn job inspects an individual Maestro job — one execution attempt of a process instance — by streaming its traces or fetching its detailed status. It's registered under the bpmn branch.

すべてのサブコマンドには uip login が必要であり、 グローバルオプションが適用されます。終了コードは 標準コントラクトに従います。

概要

uip maestro bpmn job traces <job-key>
                       [-f, --folder-key <key>] [--poll-interval <ms>]
                       [--traces-service <name>] [--pretty]
                       [--login-validity <minutes>]

uip maestro bpmn job status <job-key>
                       --folder-key <key> [--detailed]
                       [--login-validity <minutes>]
uip maestro bpmn job traces <job-key>
                       [-f, --folder-key <key>] [--poll-interval <ms>]
                       [--traces-service <name>] [--pretty]
                       [--login-validity <minutes>]

uip maestro bpmn job status <job-key>
                       --folder-key <key> [--detailed]
                       [--login-validity <minutes>]

uip maestro bpmn job traces

実行中のジョブまたは最近完了したジョブのストリーム実行トレース イベント。

引数

  • <job-key> (必須) — ジョブ キー ( process runの GUID)。

オプション

オプション既定 (Default)説明
-f, --folder-key <key>Folder key (GUID). Optional — used only to scope the trace request.
--poll-interval <ms>2000ポーリング間隔。正の数である必要があります。
--traces-service <name>llmopstenant_トレース サービス名。
--pretty無効整形トレース イベント。追加しない場合、各イベントは 1 つの JSON 行として出力されます。
--login-validity <minutes>10トークン更新のしきい値。

動作

  • 見出し行を書き込みます: Streaming traces for job: <key> Polling every Ns...
  • 各トレース イベントを ScreenLogger.progress (stderr) 経由でストリーミングします。
  • 完了すると、 Job <key> completed with state <finalState> (<durationMs>ms)を出力します。
  • 終了コード: [result.successの場合は 0、それ以外の場合は1

# Raw JSON lines
uip maestro bpmn job traces b2c3d4e5-| jq -c 'select(.level=="error")'

# Human-readable
uip maestro bpmn job traces b2c3d4e5---pretty

# Slower polling
uip maestro bpmn job traces b2c3d4e5---poll-interval 5000

# Scope the trace request to a folder
uip maestro bpmn job traces b2c3d4e5---folder-key <folder-key>
# Raw JSON lines
uip maestro bpmn job traces b2c3d4e5-… | jq -c 'select(.level=="error")'

# Human-readable
uip maestro bpmn job traces b2c3d4e5-… --pretty

# Slower polling
uip maestro bpmn job traces b2c3d4e5-… --poll-interval 5000

# Scope the trace request to a folder
uip maestro bpmn job traces b2c3d4e5-… --folder-key <folder-key>

出力: トレースは直接ストリーミングされます。最終的な Data ペイロードはストリーミングされません。

uip maestro bpmn job status

Maestro ジョブのステータスを取得します。既定では、選定された 14 フィールドの要約を返します。 --detailed は Orchestrator の完全な応答を返します。

引数

  • <job-key> (必須) — ジョブ キー (GUID)。

オプション

オプションRequired既定 (Default)説明
--folder-key <key>Folder key (GUID, from process list). No default — every call must pass it explicitly.
--detailed×無効14 フィールドの概要ではなく、完全な応答を返します。
--login-validity <minutes>×10トークン更新のしきい値。

データ形状 (既定のサマリー)

{
  "Code": "MaestroJobStatus",
  "Data": {
    "key":             "b2c3d4e5-…",
    "state":           "Successful",
    "runtimeType":     "…",
    "processType":     "ProcessOrchestration",
    "startTime":       "2025-04-15T10:30:00Z",
    "endTime":         "2025-04-15T10:32:11Z",
    "creationTime":    "2025-04-15T10:29:58Z",
    "inputArguments":  "{}",
    "outputArguments": "{}",
    "info":            "",
    "releaseName":     "InvoiceOrchestration",
    "processKey":      "a1b2c3d4-…",
    "robotName":       "…",
    "hostMachineName": "…"
  }
}
{
  "Code": "MaestroJobStatus",
  "Data": {
    "key":             "b2c3d4e5-…",
    "state":           "Successful",
    "runtimeType":     "…",
    "processType":     "ProcessOrchestration",
    "startTime":       "2025-04-15T10:30:00Z",
    "endTime":         "2025-04-15T10:32:11Z",
    "creationTime":    "2025-04-15T10:29:58Z",
    "inputArguments":  "{}",
    "outputArguments": "{}",
    "info":            "",
    "releaseName":     "InvoiceOrchestration",
    "processKey":      "a1b2c3d4-…",
    "robotName":       "…",
    "hostMachineName": "…"
  }
}

--detailedでは、Orchestrator の完全なジョブ オブジェクトがDataされます。

# Start a job, capture the key, stream traces to completion
JOB_KEY=$(uip maestro bpmn process run "InvoiceOrchestration:1.0.0" "<folder-key>" \
           --release-key <release-key> --inputs '{}' --output-filter "jobKey" --output plain)
uip maestro bpmn job traces "$JOB_KEY" --pretty

# Summary once done
uip maestro bpmn job status "$JOB_KEY" --folder-key "<folder-key>"

# Full response
uip maestro bpmn job status "$JOB_KEY" --folder-key "<folder-key>" --detailed
# Start a job, capture the key, stream traces to completion
JOB_KEY=$(uip maestro bpmn process run "InvoiceOrchestration:1.0.0" "<folder-key>" \
           --release-key <release-key> --inputs '{}' --output-filter "jobKey" --output plain)
uip maestro bpmn job traces "$JOB_KEY" --pretty

# Summary once done
uip maestro bpmn job status "$JOB_KEY" --folder-key "<folder-key>"

# Full response
uip maestro bpmn job status "$JOB_KEY" --folder-key "<folder-key>" --detailed

参照

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得