UiPath Documentation
uipath-cli
2026.10
false
UiPath CLI ユーザー ガイド

UIP Maestro フロー プロセスと UIP Maestro フロー プロセス

「uip maestro flow process」および「uip maestro flow processes」の構文とオプションです。フォルダーごとおよびテナント全体でパブリッシュ済みのフロー プロセスの操作をカバーします。

Flow パッケージが Orchestrator にパブリッシュされると、そのパッケージは プロセスになります。このページでは、関連する 2 つのコマンド グループについて説明します。

  • uip maestro flow process — 単一のプロセス定義に対するフォルダーごとの操作 (フォルダー内のリスト表示、スキーマの取得、実行)。
  • uip maestro flow processes (複数形) — テナント全体の概要とプロセスごとのインシデント検索。

概要​

# Singular — per-folder, operational
uip maestro flow process list (-f <folder-key> | --folder-path <path>) [--filter <odata>] [--limit <n>] [--offset <n>] [--login-validity <minutes>]
uip maestro flow process get  <process-key> <feed-id> -f <folder-key> [--login-validity <minutes>]
uip maestro flow process run  <process-key> <folder-key>
                       [-i, --inputs <json>]
                       [--release-key <key>] [--feed-id <id>] [--robot-ids <ids>]
                       [--entry-point <id>]
                       [--attachment <name=path>]...
                       [--wait [--timeout <seconds>] [--poll-interval <seconds>]]
                       [--validate] [--login-validity <minutes>]
uip maestro flow process settings get       <process-key> -f <folder-key>
uip maestro flow process settings set       <process-key> -f <folder-key> [--inputs <json|@file>]
uip maestro flow process variable-tags list   <process-key> -f <folder-key> [--process-version <version>]
uip maestro flow process variable-tags create <process-key> -f <folder-key> (--variables <variable...> | --all) [--dry-run] [--process-version <version>]
uip maestro flow process variable-tags delete <process-key> -f <folder-key> (--variables <variable...> | --all --yes) [--dry-run] [--process-version <version>]

# Plural — tenant-wide summary and incident surface
uip maestro flow processes list [--folder-key <key>] [-l, --limit <number>] [--offset <number>] [--status <status>]
uip maestro flow processes incidents    <process-key> --folder-key <key>
uip maestro flow processes diagnose     <process-key> --folder-key <key>
uip maestro flow processes error-codes  <process-key> --folder-key <key>
# Singular — per-folder, operational
uip maestro flow process list (-f <folder-key> | --folder-path <path>) [--filter <odata>] [--limit <n>] [--offset <n>] [--login-validity <minutes>]
uip maestro flow process get  <process-key> <feed-id> -f <folder-key> [--login-validity <minutes>]
uip maestro flow process run  <process-key> <folder-key>
                       [-i, --inputs <json>]
                       [--release-key <key>] [--feed-id <id>] [--robot-ids <ids>]
                       [--entry-point <id>]
                       [--attachment <name=path>]...
                       [--wait [--timeout <seconds>] [--poll-interval <seconds>]]
                       [--validate] [--login-validity <minutes>]
uip maestro flow process settings get       <process-key> -f <folder-key>
uip maestro flow process settings set       <process-key> -f <folder-key> [--inputs <json|@file>]
uip maestro flow process variable-tags list   <process-key> -f <folder-key> [--process-version <version>]
uip maestro flow process variable-tags create <process-key> -f <folder-key> (--variables <variable...> | --all) [--dry-run] [--process-version <version>]
uip maestro flow process variable-tags delete <process-key> -f <folder-key> (--variables <variable...> | --all --yes) [--dry-run] [--process-version <version>]

# Plural — tenant-wide summary and incident surface
uip maestro flow processes list [--folder-key <key>] [-l, --limit <number>] [--offset <number>] [--status <status>]
uip maestro flow processes incidents    <process-key> --folder-key <key>
uip maestro flow processes diagnose     <process-key> --folder-key <key>
uip maestro flow processes error-codes  <process-key> --folder-key <key>

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


UIP Maestro フロー プロセスのリスト​

特定のフォルダー内の利用可能なフロープロセス (リリース) のリストを取得します。

オプション​

オプションRequired説明
-f, --folder-key <key>--folder-keyまたは--folder-pathのいずれかフォルダー キー (GUID)。
--folder-path <path>--folder-keyまたは--folder-pathのいずれかフォルダー パス (例:Shared/Invoicesです。両方のオプションを渡す場合、それらは同じフォルダーを参照している必要があります。
--filter <odata>×サーバー側で追加の OData フィルターを適用します。
-l, --limit <number>×返されるプロセスの数 (1 から 1000)
--offset <number>×スキップするプロセスの数 (0 から 1000000)既定 0です。
--login-validity <minutes>×トークン更新のしきい値 (既定 10)。

Orchestrator は --limit と --offsetを適用するため、応答の Pagination オブジェクトには Totalはありません。それは運ぶ:

  • Returned
  • Limit
  • Offset
  • HasMore

--folder-keyも --folder-pathも渡さず、終了コード 3で失敗します。

データシェイプ (--output json)​

{
  "Code": "FlowProjectList",
  "Data": [
    {
      "name":       "InvoiceFlow",
      "processKey": "a1b2c3d4-0000-0000-0000-000000000001:1.0.0",
      "releaseKey": "e5f6a7b8-0000-0000-0000-000000000001",
      "folderKey":  "c3d4e5f6-0000-0000-0000-000000000001",
      "feedId":     "default",
      "folderId":   42,
      "releaseActive": "Yes",
      "releaseLatest": "Yes"
    }
  ]
}
{
  "Code": "FlowProjectList",
  "Data": [
    {
      "name":       "InvoiceFlow",
      "processKey": "a1b2c3d4-0000-0000-0000-000000000001:1.0.0",
      "releaseKey": "e5f6a7b8-0000-0000-0000-000000000001",
      "folderKey":  "c3d4e5f6-0000-0000-0000-000000000001",
      "feedId":     "default",
      "folderId":   42,
      "releaseActive": "Yes",
      "releaseLatest": "Yes"
    }
  ]
}

releaseActive と releaseLatest は、Orchestrator のリリース ステート (リリースがアクティブとマークされているかどうか、および最も古いバージョンであるかどうか) を反映します。プロセスがデプロイ済みまたは実行可能かどうかを示すものではありません。


UIP Maestro フロー プロセス Get​

フロー プロセスのエントリ ポイント スキーマ (入力/出力 JSON スキーマ) を取得します。この結果を使用して、process runの有効な--inputs ペイロードを作成します。

引数​

  • <process-key> (必須) — プロセス キー (例:MyFlow.flow.Flow:1.0.0 または <package-id>:<version>です。
  • <feed-id> (必須) — フィード ID ( list 出力から)。

オプション​

  • -f, --folder-key <key> (必須)
  • --login-validity

データシェイプ​

{
  "Code": "FlowProjectGet",
  "Data": [
    {
      "Path":         "/content/main.flow",
      "DisplayName":  "Main",
      "Type":         "Flow",
      "InputSchema":  "{\"type\":\"object\",\"properties\":{}}",
      "OutputSchema": "{\"type\":\"object\",\"properties\":{}}"
    }
  ]
}
{
  "Code": "FlowProjectGet",
  "Data": [
    {
      "Path":         "/content/main.flow",
      "DisplayName":  "Main",
      "Type":         "Flow",
      "InputSchema":  "{\"type\":\"object\",\"properties\":{}}",
      "OutputSchema": "{\"type\":\"object\",\"properties\":{}}"
    }
  ]
}

InputSchema と OutputSchema は再文字列化された JSON です。それらをJSONスキーマとして解析し、入力の構築を促進します。


UIP Maestro フロー プロセスの実行​

パブリッシュ済みプロセスのフロージョブを開始します。

引数​

  • <process-key> (必須) — プロセス キー (例:MyFlow.flow.Flow:1.0.0)。
  • <folder-key> (必須) — フォルダー キー (GUID)。

オプション​

オプション説明
-i, --inputs <json>JSON 文字列または @path/to/file.jsonとして入力します。省略して stdin をパイプすると、stdin が入力として解析されます。
--release-key <key>リリース キー (GUID) — process listから。省略すると、コマンドはフォルダー内の <process-key> (名前とバージョン) に一致するリリースを検索します。一致するリリースがない場合、または複数のリリースが一致する場合、コマンドは で失敗します Code: "FlowReleaseKeyRequired"。一致する releaseKey を から渡 process list。
--feed-id <id>パッケージ検索用のフィード ID (任意)。
--robot-ids <ids>コンマ区切りのロボット ID (整数)。無効な値はすぐに失敗します。
--entry-point <id>ジョブを開始するエントリ ポイント: .flow ファイルのトリガー ノード ID。既定では、リリースの既定のエントリ ポイントです。プロセスのエントリ ポイントに一致しない ID は、添付ファイルがアップロードされる前に終了コード 3で失敗します。--validateでは、入力がこのエントリ ポイントのスキーマと照合されます。
--attachment <name=path>ローカル ファイルを Orchestrator にアップロードし、ファイル型の入力変数としてバインドします。繰り返し可能 (例:--attachment file1=./resume.pdfです。同じ変数名が にも存在する場合は、上書き --inputsです。
--waitジョブがすぐに で戻るのではなく、ジョブが終了ステートに達するまでブロック Pending。
--timeout <seconds>待機する最大秒数です。0 = タイムアウトなし。既定値は 1800です。--waitが必要です。
--poll-interval <seconds>待機中のステータス チェック間の間隔 (秒)。既定値は 5です。--waitが必要です。
--validate実行する前に、プロセス スキーマに照らして入力を検証します。基本的なチェックのみを実行します — 必須フィールドが存在し、プリミティブ型が一致します。複雑な制約 (列挙型、パターン、参照) は、このパスでは適用されません。
--login-validity <minutes>トークン更新のしきい値 (既定 10)。

入力の優先順位: --inputs <json> / --inputs @file.json > stdin >空のオブジェクト {}。

# Run with inline JSON (the release key is looked up)
uip maestro flow process run "InvoiceFlow.flow.Flow:1.0.0" "c3d4e5f6-0000-0000-0000-000000000001" \
  --inputs '{"amount":100}'

# Run a specific release
uip maestro flow process run "InvoiceFlow.flow.Flow:1.0.0" "c3d4e5f6-…" \
  --release-key "e5f6a7b8-…" --inputs '{"amount":100}'

# Bind a local file to a file-typed input variable
uip maestro flow process run "InvoiceFlow.flow.Flow:1.0.0" "c3d4e5f6-…" --attachment file1=./resume.pdf

# Run with inputs from a file
uip maestro flow process run "InvoiceFlow.flow.Flow:1.0.0" "c3d4e5f6-…" --inputs @inputs.json

# Run with inputs piped from stdin
echo '{"amount":100}' | uip maestro flow process run "InvoiceFlow.flow.Flow:1.0.0" "c3d4e5f6-…"

# Validate before running
uip maestro flow process run "InvoiceFlow.flow.Flow:1.0.0" "c3d4e5f6-…" \
  --inputs '{"amount":100}' --validate
# Run with inline JSON (the release key is looked up)
uip maestro flow process run "InvoiceFlow.flow.Flow:1.0.0" "c3d4e5f6-0000-0000-0000-000000000001" \
  --inputs '{"amount":100}'

# Run a specific release
uip maestro flow process run "InvoiceFlow.flow.Flow:1.0.0" "c3d4e5f6-…" \
  --release-key "e5f6a7b8-…" --inputs '{"amount":100}'

# Bind a local file to a file-typed input variable
uip maestro flow process run "InvoiceFlow.flow.Flow:1.0.0" "c3d4e5f6-…" --attachment file1=./resume.pdf

# Run with inputs from a file
uip maestro flow process run "InvoiceFlow.flow.Flow:1.0.0" "c3d4e5f6-…" --inputs @inputs.json

# Run with inputs piped from stdin
echo '{"amount":100}' | uip maestro flow process run "InvoiceFlow.flow.Flow:1.0.0" "c3d4e5f6-…"

# Validate before running
uip maestro flow process run "InvoiceFlow.flow.Flow:1.0.0" "c3d4e5f6-…" \
  --inputs '{"amount":100}' --validate

データシェイプ​

{
  "Code": "FlowJobStarted",
  "Data": {
    "jobKey":  "b2c3d4e5-0000-0000-0000-000000000001",
    "state":   "Pending",
    "traceId": "d4e5f6a7-0000-0000-0000-000000000001",
    "folderKey": "c3d4e5f6-0000-0000-0000-000000000001"
  }
}
{
  "Code": "FlowJobStarted",
  "Data": {
    "jobKey":  "b2c3d4e5-0000-0000-0000-000000000001",
    "state":   "Pending",
    "traceId": "d4e5f6a7-0000-0000-0000-000000000001",
    "folderKey": "c3d4e5f6-0000-0000-0000-000000000001"
  }
}

次の手順: uip maestro flow jobs traces <jobKey> --folder-key <folder-key> 、実行をストリーミングするか、 uip maestro flow jobs status <jobKey> をポーリングします。--waitを使用すると、コマンドはジョブが最終ステートに達するまで、この出力の後にポーリングを続けます。


UIP Maestro フロープロセスの設定​

プロセスのランタイム設定を取得または更新する。

UIP Maestro フローのプロセス設定 Get​

引数​
  • <process-key> (必須) — プロセス定義キー。
オプション​
  • -f, --folder-key <key> (必須)
データシェイプ​

Code: "ProcessSettingsGet"は、プロセス設定オブジェクト Data です。

UIP Maestro フローのプロセス設定セット​

引数​
  • <process-key> (必須)
オプション​
オプション説明
-f, --folder-key <key>(必須) フォルダー キー (GUID)。
--inputs <value>設定ペイロードは、JSON 文字列または @file パスとして、または stdin を介してパイプされます。
データシェイプ​

Code: "ProcessSettingsSet" です。

uip maestro フロー プロセス variable-tags​

List, tag, and untag the variables that Flow process instances can be filtered by. The commands read the variables that the deployed process version declares and save the whole selection in one write.

Flow instances can be filtered by these values only on tenants that have Flow variable filtering enabled.

The three commands share these arguments and options:

  • <process-key> (required) — process key (GUID), the releaseKey value that process list returns.
  • -f, --folder-key <key> (必須) — フォルダー キー (GUID)。
  • --process-version <version> — process version whose variables are offered. Default: the version that new instances run.

create and delete name a variable as <name>, <element>.<name>, or <element>.<name>.<field>, or by the Id that list returns. A name that matches more than one variable fails with ErrorCode: "invalid_argument" and lists the matching IDs. A name that matches no variable fails with ErrorCode: "not_found".

uip maestro flow process variable-tags list​

List the variables that the process offers for tagging, and which of them are tagged.

uip maestro flow process variable-tags list e5f6a7b8-0000-0000-0000-000000000001 --folder-key c3d4e5f6-0000-0000-0000-000000000001
uip maestro flow process variable-tags list e5f6a7b8-0000-0000-0000-000000000001 --folder-key c3d4e5f6-0000-0000-0000-000000000001
データシェイプ​
{
  "Code": "ProcessVariableTagsList",
  "Data": [
    {
      "Element": "Review claim",
      "Variable": "claimAmount",
      "Id": "Task_Review.claimAmount",
      "Tagged": true,
      "Label": "Claim amount",
      "Stale": false,
      "Note": ""
    }
  ]
}
{
  "Code": "ProcessVariableTagsList",
  "Data": [
    {
      "Element": "Review claim",
      "Variable": "claimAmount",
      "Id": "Task_Review.claimAmount",
      "Tagged": true,
      "Label": "Claim amount",
      "Stale": false,
      "Note": ""
    }
  ]
}

Stale is true for a saved variable that this version of the process no longer declares. Note says why a variable can't be tagged, when that is the case. A process version with no variables to tag returns Data: [].

uip maestro flow process variable-tags create​

Tag variables so that instances can be filtered by them.

オプション​
オプション説明
--variables <variable...>Variables to tag, each as <variable> or <variable>=<label>. Without =<label>, the variable gets a default label. Labels are unique within a process.
--allTag every variable that can be tagged.
--dry-runShow the result without saving it.

Pass --variables or --all. Passing both, or neither, fails with Result: "ValidationError" and exit code 3.

uip maestro flow process variable-tags create e5f6a7b8-0000-0000-0000-000000000001 --folder-key c3d4e5f6-0000-0000-0000-000000000001 \
  --variables claimAmount="Claim amount"
uip maestro flow process variable-tags create e5f6a7b8-0000-0000-0000-000000000001 --folder-key c3d4e5f6-0000-0000-0000-000000000001 \
  --variables claimAmount="Claim amount"
データシェイプ​

Code: "ProcessVariableTagsCreated". Data is an array of the variables that are tagged after the write, in the row shape that list returns. Instructions says what was added or relabeled, or that nothing changed. With --dry-run, the response has Code: "ProcessVariableTagsDryRun" and nothing is saved.

uip maestro flow process variable-tags delete​

Stop tagging variables. A saved variable that the process no longer declares can be untagged too.

オプション​
オプション説明
--variables <variable...>Variables to untag.
--allUntag every variable, including the ones that the process no longer declares. Requires --yes or --dry-run.
--yesConfirm --all.
--dry-runShow the result without saving it.

Pass --variables or --all. Passing both, or neither, or --all without --yes or --dry-run, fails with Result: "ValidationError" and exit code 3.

データシェイプ​

Code: "ProcessVariableTagsDeleted". Data is an array of the variables that are still tagged after the write, and [] when none are. With --dry-run, the response has Code: "ProcessVariableTagsDryRun" and nothing is saved.


UIP Maestro フロー プロセスのリスト​

テナント全体のフロー プロセスの概要。

オプション​

オプション説明
--folder-key <key>Folder key, to keep only the processes of one folder.
-l, --limit <number>返すアイテムの数 (1–10000)。
--offset <number>スキップする項目の数 (0–1000000)。既定値は 0です。
--status <status>Keep only the processes that have at least one instance in this status: Canceling, Cancelled, Completed, Faulted, Paused, Pausing, Pending, Resuming, Retrying, Running, or Upgrading.

The CLI applies --folder-key, --status, --offset, and --limit to the full list that the service returns. A --status value outside the list fails with Result: "ValidationError" and exit code 3.

データシェイプ​

{
  "Code": "ProcessList",
  "Data": [
    {
      "processKey":     "…",
      "name":           "…",
      "folderKey":      "…",
      "latestVersion":  "…"
    }
  ]
}
{
  "Code": "ProcessList",
  "Data": [
    {
      "processKey":     "…",
      "name":           "…",
      "folderKey":      "…",
      "latestVersion":  "…"
    }
  ]
}
注:

各プロセス概要の正確なフィールド セットは Maestro ランタイムによって指定され、さらに進化する可能性があります。データがあるテナントに対して --output json でコマンドを 1 回実行して使用するフィールドを確認し、特定のフィールドを解析する場合は CI に @uipath/cli ピン留めします。


UIP Maestro フロー: インシデントを処理します。​

特定のフロー プロセス定義のすべてのインシデントを取得します (単一のインスタンスではありません)。

引数​

  • <process-key> (必須) — プロセス定義キー。

オプション​

  • --folder-key <key> (必須) — 検索のスコープを設定するためのフォルダー キーです。

データシェイプ​

{
  "Code": "ProcessIncidents",
  "Data": [ /* array of process incidents */ ]
}
{
  "Code": "ProcessIncidents",
  "Data": [ /* array of process incidents */ ]
}

インシデントごとの図形については「 uip maestro flow incidents 」をご覧ください。

UIP Maestro フロー プロセスの診断​

プロセスの概要、インシデント、エラー コードを 1 回の呼び出しで関連付けます — 簡単なトリアージ コマンドです。

引数​

  • <process-key> (必須) — プロセス定義キー。

オプション​

  • --folder-key <key> (必須)

When the process is in another folder than --folder-key, the command fails with Result: "ValidationError" and exit code 3, and Instructions gives the folder key to pass.

データシェイプ​

{
  "Code": "ProcessDiagnostics",
  "Data": {
    "ProcessKey": "…",
    "FolderKey": "…",
    "Summary": { /* this process's entry from processes/summary, or null if not found */ },
    "FaultedCount": 0,
    "RunningCount": 0,
    "Incidents": [ /* array of incidents */ ],
    "IncidentCount": 0,
    "ErrorCodes": [ /* array of error code strings */ ],
    "ErrorCodeCount": 0
  }
}
{
  "Code": "ProcessDiagnostics",
  "Data": {
    "ProcessKey": "…",
    "FolderKey": "…",
    "Summary": { /* this process's entry from processes/summary, or null if not found */ },
    "FaultedCount": 0,
    "RunningCount": 0,
    "Incidents": [ /* array of incidents */ ],
    "IncidentCount": 0,
    "ErrorCodes": [ /* array of error code strings */ ],
    "ErrorCodeCount": 0
  }
}

UIP Maestro フロー プロセス エラー コード​

プロセスのインシデント全体に表示される一意のエラー コードのセットを取得します。

引数​

  • <process-key> (必須)

オプション​

  • --folder-key <key> (必須)

データシェイプ​

{
  "Code": "ProcessIncidentErrorCodes",
  "Data": ["Process.UnhandledException"]
}
{
  "Code": "ProcessIncidentErrorCodes",
  "Data": ["Process.UnhandledException"]
}

参照​

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

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得