- 概要
- はじめに
- 概念
- UiPath CLI を使用する
- 使用ガイド
- CI/CD レシピ
- コマンド リファレンス
- 概要
- 終了コード
- グローバル オプション
- uip codedagent
- UIP コーダー
- UIP のコンテキスト グラウンディング
- uip docsai
- uip 関数
- UIP ガードレール
- uip llm - 構成
- uip llm-gateway
- UIP Maestro のオーサリング
- UIP Maestro レジストリ
- uip model-hub
- アクティビティ検索
- アクティビティ get-default-xaml
- 分析
- アナライザー - ルールのリスト
- 開発
- クリーンアップ
- data-fabric-entities をインストールする
- data-fabric-entities リスト
- ファイル差分
- get-library-object-repository
- オブジェクト リポジトリを取得
- Init
- インスタンス リスト
- パッケージ化
- パッケージ検査
- パッケージのインストール
- パッケージ バージョン
- パブリッシュ
- リモート
- 元に戻す
- 実行、デバッグ、実行
- 設定
- Studio での起動
- テンプレートの検索
- test-data add-entity
- test-data add-queue
- test-data add-variation
- TM
- UIA
- 検証
- workflow-examples get
- ワークフロー - 例のリスト
- UIP タスク
- uip traces
- UIP トレースのフィードバック
- 移行
- 参照とサポート
UIP Maestro フロー debug-instance
「uip maestro flow debug-instance」の構文とオプション。Studio Web のデバッグ セッションをステップ実行、検査、および操作するための低レベルのデバッガー制御サーフェスです。
uip maestro flow debug-instance は低レベルのデバッガーのコントロール サーフェスです。デバッグ インスタンスを作成してステップ実行し、その変数とインシデントを検査して、キャンセルまたは続行します。これは、プロジェクトをアップロードし、1 回の呼び出しで完了までポーリングを行う uip maestro flow debugとは異なり、よりきめ細かいレイヤーです。debug-instance 、Studio Web のデバッグ プロトコルを中心としたカスタム デバッグ ツール (エディターとの連携など) を構築し、一度に 1 つのステップずつ推進する必要があります。
概要
uip maestro flow debug-instance create --solution-id <id> --project-id <id> --entry-point <path> [--process-type <type>] [--debug-mode <mode>] [--simulation-mode <mode>] [-i, --inputs <json>]
uip maestro flow debug-instance status <instance-id>
uip maestro flow debug-instance breakpoints <instance-id> [--inputs <json|@file>]
uip maestro flow debug-instance cancel <instance-id>
uip maestro flow debug-instance continue <instance-id> [--inputs <json|@file>]
uip maestro flow debug-instance incidents <instance-id>
uip maestro flow debug-instance variables <instance-id> [--parent-element-id <id> | --expected-outputs <ids...>]
uip maestro flow debug-instance variables-set <instance-id> [--inputs <json|@file>] [--parent-element-id <id>]
uip maestro flow debug-instance variables-all <instance-id>
uip maestro flow debug-instance create --solution-id <id> --project-id <id> --entry-point <path> [--process-type <type>] [--debug-mode <mode>] [--simulation-mode <mode>] [-i, --inputs <json>]
uip maestro flow debug-instance status <instance-id>
uip maestro flow debug-instance breakpoints <instance-id> [--inputs <json|@file>]
uip maestro flow debug-instance cancel <instance-id>
uip maestro flow debug-instance continue <instance-id> [--inputs <json|@file>]
uip maestro flow debug-instance incidents <instance-id>
uip maestro flow debug-instance variables <instance-id> [--parent-element-id <id> | --expected-outputs <ids...>]
uip maestro flow debug-instance variables-set <instance-id> [--inputs <json|@file>] [--parent-element-id <id>]
uip maestro flow debug-instance variables-all <instance-id>
グローバル オプションを尊重します。終了コードは 標準契約に従います。uip loginが必要です。
uip maestro flow debug-instance create
Orchestrator でデバッグ セッションを開始し、アップロード済みのソリューションに対応するデバッグ インスタンスを作成します。
オプション
| オプション | Required | 既定 (Default) | 説明 |
|---|---|---|---|
--solution-id <id> | ○ | — | 以前にアップロードしたソリューション ID または Studio Web から取得したソリューション ID |
--project-id <id> | ○ | — | ソリューション内の Studio Web プロジェクト ID。 |
--entry-point <path> | ○ | — | エントリ ポイントのパス (例:/Main.bpmn#startです。 |
--process-type <type> | × | processOrchestration | プロセスの種類。 |
--debug-mode <mode> | × | Default | Default (ブレークポイントで一時停止)、 StepByStep (すべてのステップで一時停止)、または SingleStep (1 つのステップのみを実行)。 |
--simulation-mode <mode> | × | None | None、 All (すべての要素をシミュレート)、または Selective (オプトアウトを除くシミュレート) です。 |
-i, --inputs <json> | × | {} | 引数を JSON 文字列として入力します。 |
無効な --debug-mode/--simulation-mode 値がすぐに失敗し、有効なセットが一覧表示されます。
データシェイプ
{
"Code": "DebugInstanceCreated",
"Data": {
"instanceId": "…",
"runId": "…",
"jobKey": "b2c3d4e5-…"
},
"Instructions": "Use 'debug-instance status <instance-id>' to check the run. Use 'debug-instance incidents <instance-id>' or 'debug-instance variables <instance-id>' to inspect it."
}
{
"Code": "DebugInstanceCreated",
"Data": {
"instanceId": "…",
"runId": "…",
"jobKey": "b2c3d4e5-…"
},
"Instructions": "Use 'debug-instance status <instance-id>' to check the run. Use 'debug-instance incidents <instance-id>' or 'debug-instance variables <instance-id>' to inspect it."
}
UIP Maestro フローのデバッグ - インスタンスのステータス
要素ごとの実行ステータスを取得します。引数: <instance-id>。データ図形: Code: "DebugInstanceStatus"。
UIP Maestro フローのデバッグ - インスタンスのブレークポイント
一時停止したインスタンスのブレークポイント セットを更新します。引数: <instance-id>。オプション: --inputs <value> — ブレークポイントのペイロードは、JSON 文字列、 @file パス、または標準値を介してパイプされます。データ図形: Code: "DebugInstanceBreakpointsUpdated"。
UIP Maestro フロー デバッグ - インスタンスのキャンセル
デバッグ インスタンスをキャンセルします。引数: <instance-id>。データ図形: Code: "DebugInstanceCanceled"。
UIP Maestro フロー デバッグ - インスタンスの続行
一時停止したインスタンスで実行を再開します。引数: <instance-id>。オプション: --inputs <value> — JSON 文字列、 @file パス、または標準値です。省略すると既定で {"nextStep": false} されます (単一のステップではなく、次のブレークポイントまで実行)。データ図形: Code: "DebugInstanceContinued"。
UIP Maestro フローのデバッグ - インスタンスのインシデント
デバッグ セッション中に発生したインシデントを取得します。引数: <instance-id>。データ図形: Code: "DebugInstanceIncidents" Data は配列です (配列がない場合は空)。
UIP Maestro フローのデバッグ インスタンス変数
インスタンスの変数を取得します。引数: <instance-id>。オプション:
--parent-element-id <id>— フィルターを適用し、1 つの要素を下回るスコープを持つ変数に絞り込みます。--expected-outputs <ids...>— レコードで定義する必要がある出力変数 ID です。スペースで区切られます。実行の出力変数が存在する前に読み取りが返される可能性があります。このオプションを使用すると、リストされた ID が未定義のままのレコードが再度読み取られ、それらを定義していない場合、コマンドは失敗します。宣言された出力はインスタンスのルート レコードに存在するため、--parent-element-idと組み合わせることはできません。uip maestro flow debug、完了した実行の出力を読み取れなかった場合、宣言されたすべての出力 ID でこのオプションに名前を付けます。
データ図形: Code: "DebugInstanceVariables"。
uip maestro フロー debug-instance variables-set
変数にパッチを適用 (一部更新) します。引数: <instance-id>。オプション: --inputs <value> — パッチ ペイロードを JSON 文字列、 @file パス、または標準として表します。 --parent-element-id <id> — パッチのスコープを親要素 ID に設定します。データ図形: Code: "DebugInstanceVariablesSet"。
uip maestro フロー debug-instance variables-all
サブプロセスのスコープを含む、すべての変数を取得します。引数: <instance-id>。データ図形: Code: "DebugInstanceVariablesAll"。
参照
uip maestro flow debug— ほとんどのワークフローで代わりに使用すべき、アップロードしてポーリングを行う高レベルのデバッグ コマンドですuip maestro flow instance— デバッグ セッションではなく、パブリッシュ済みの実行中のインスタンスに相当するコントロール サーフェスです- フローの概要
- グローバル オプション、 終了コード
- 概要
- uip maestro flow debug-instance create
- オプション
- データシェイプ
- UIP Maestro フローのデバッグ - インスタンスのステータス
- UIP Maestro フローのデバッグ - インスタンスのブレークポイント
- UIP Maestro フロー デバッグ - インスタンスのキャンセル
- UIP Maestro フロー デバッグ - インスタンスの続行
- UIP Maestro フローのデバッグ - インスタンスのインシデント
- UIP Maestro フローのデバッグ インスタンス変数
- uip maestro フロー debug-instance variables-set
- uip maestro フロー debug-instance variables-all
- 参照