uipath-cli
latest
false
- 概要
- はじめに
- 概念
- UiPath CLI を使用する
- UiPath for Coding Agents
- 使用ガイド
- CI/CD レシピ
- コマンド リファレンス
- 概要
- 終了コード
- グローバル オプション
- uip codedagent
- uip docsai
- add-test-data-entity
- テスト データのキューを追加
- 追加-テスト-データ-バリエーション
- 分析
- 開発
- プロジェクトを作成
- 差分
- アクティビティを検索
- GET-ANALYZER-RULES
- get-default-activity-xaml
- エラーを取得
- 手動テスト用のテスト ケースを取得
- 手動テストステップを取得
- get-versions
- Get-workflow-example
- indicate-application
- 要素を示す
- inspect-package
- install-data-fabric-entities
- パッケージのインストールまたは更新
- list-data-fabric-entities
- list-workflow-examples
- パッケージ化
- 元に戻す
- ファイル名を実行
- 検索テンプレート
- スタートスタジオ
- 実行を停止
- UIA
- UIP トレース
- 移行
- 参照とサポート
重要 :
このコンテンツは機械翻訳によって処理されています。
新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。
UiPath CLI ユーザー ガイド
uip flow debug は、ローカルの Flow プロジェクトを Studio Web にアップロードし、サーバー側のデバッグ セッションを実行して、要素ごとのステータスの更新をコンソールにストリーミングし、最終ステータスを返します。
概要
uip flow debug <project-path>
[--folder-id <id>]
[--poll-interval <ms>]
[-i, --inputs <json>]
[--login-validity <minutes>]
uip flow debug <project-path>
[--folder-id <id>]
[--poll-interval <ms>]
[-i, --inputs <json>]
[--login-validity <minutes>]
引数
<project-path>(必須) — Flow プロジェクトディレクトリへのパス。次の文字列を含む必要がありますproject.uiproj。
オプション
| オプション | 既定 (Default) | 説明 |
|---|---|---|
--folder-id <id> | 自動検出 | Orchestrator のフォルダー (OrganizationUnitId)省略すると、現在のログイン セッションのフォルダーが使用されます。整数として解析されます。 |
--poll-interval <ms> | 2000 | Studio Web がセッションを前進させるのを待機する間のポーリング間隔 (ミリ秒単位)。 |
-i, --inputs <json> | — | 引数を JSON 文字列として入力するか、ファイルから読み込む @path/to/file.json として入力します。また、どちらも指定されていない場合はstdinから読みます(ここではuip flow process runではなく、JSON文字列または@fileのみを受け入れますdebug)。 |
--login-validity <minutes> | 10 | トークンの有効期限の最小時間 (分) 前に自動更新がトリガーされます。 |
動作
- ログインを検証し、組織、テナント、ベース URL、組織名、認証トークンをセッションから取得します。
- プロジェクトを Studio Web のターゲット フォルダーにアップロードします。
- 最終ステータスをポーリングし、次のような要素ごとのステータス行を出力します。
Status: InProgress (2/5 elements completed) v Node_1 [Completed] > Node_2 [InProgress] - Node_3 [NotStarted]Status: InProgress (2/5 elements completed) v Node_1 [Completed] > Node_2 [InProgress] - Node_3 [NotStarted] - 実行中のインシデントに対して、警告ラインを発します。
finalStatusがCompletedまたはSuccessfulの場合に0を終了します。1そうでなければ。
例
# Debug a local project, auto-detect folder, default poll interval
uip flow debug ./invoice-flow
# Debug against a specific folder with inline JSON inputs
uip flow debug ./invoice-flow --folder-id 2553016 \
--inputs '{"amount":100,"customer":"Acme"}'
# Debug with inputs from a file
uip flow debug ./invoice-flow --inputs @inputs.json
# Slower polling for long-running flows
uip flow debug ./invoice-flow --poll-interval 5000
# Debug a local project, auto-detect folder, default poll interval
uip flow debug ./invoice-flow
# Debug against a specific folder with inline JSON inputs
uip flow debug ./invoice-flow --folder-id 2553016 \
--inputs '{"amount":100,"customer":"Acme"}'
# Debug with inputs from a file
uip flow debug ./invoice-flow --inputs @inputs.json
# Slower polling for long-running flows
uip flow debug ./invoice-flow --poll-interval 5000
データシェイプ(--output json)
{
"Code": "FlowDebug",
"Data": {
"jobKey": "b2c3d4e5-0000-0000-0000-000000000001",
"instanceId": "c3d4e5f6-0000-0000-0000-000000000001",
"runId": "d4e5f6a7-0000-0000-0000-000000000001",
"finalStatus": "Completed",
"solutionId": "e5f6a7b8-0000-0000-0000-000000000001",
"studioWebUrl": "https://cloud.uipath.com/org/tenant/studio_/debug/e5f6a7b8",
"elementExecutions": [
{ "elementId": "Node_1", "status": "Completed" }
],
"variables": {}
}
}
{
"Code": "FlowDebug",
"Data": {
"jobKey": "b2c3d4e5-0000-0000-0000-000000000001",
"instanceId": "c3d4e5f6-0000-0000-0000-000000000001",
"runId": "d4e5f6a7-0000-0000-0000-000000000001",
"finalStatus": "Completed",
"solutionId": "e5f6a7b8-0000-0000-0000-000000000001",
"studioWebUrl": "https://cloud.uipath.com/org/tenant/studio_/debug/e5f6a7b8",
"elementExecutions": [
{ "elementId": "Node_1", "status": "Completed" }
],
"variables": {}
}
}
ブラウザーで studioWebUrl を開き、対話形式でセッションを検査します。
参照
uip flow validate— 実行前の静的チェックuip flow process run— パブリッシュ済みのプロセスを実行しますuip flow job traces— 開始済みのジョブのストリームトレース- 認証
- フローの概要