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

UiPath CLI ユーザー ガイド

UIP Maestro デバッグ

uip maestro debug は、ローカルの Maestro プロジェクトを Studio Web にアップロードし、サーバー側のデバッグ セッションを実行します。これにより、要素ごとのステータスの更新がコンソールにストリーミングされ、最終ステータスが返されます。

概要

uip maestro debug <project-path>
                  [--folder-id <id>]
                  [--poll-interval <ms>]
                  [-i, --inputs <json>]
                  [--login-validity <minutes>]
uip maestro debug <project-path>
                  [--folder-id <id>]
                  [--poll-interval <ms>]
                  [-i, --inputs <json>]
                  [--login-validity <minutes>]

uip loginが必要です。グローバルオプションを優先します。終了コードは 標準コントラクトに従います。

引数

  • <project-path> (必須) — Maestro プロジェクト ディレクトリへのパスです。次の値を含む必要がありますproject.uiproj

オプション

オプション既定 (Default)説明
--folder-id <id>自動検出Orchestrator のフォルダー (OrganizationUnitId)省略すると、現在のログイン セッションのフォルダーが使用されます。parseFolderIdで解析および検証されます。
--poll-interval <ms>2000ポーリング間隔 (ミリ秒単位)。正の数である必要があります。
-i, --inputs <json>引数を JSON 文字列または @path/to/file.jsonとして入力します。
--login-validity <minutes>10トークンの有効期限の最小時間 (分) 前に自動更新がトリガーされます。

動作

  1. ログインを検証し、組織、テナント、ベース URL、認証トークンをセッションから取得します。
  2. プロジェクトを Studio Web のターゲット フォルダーにアップロードします。
  3. 最終ステータスをポーリングし、次のような要素ごとのステータス行を出力します。
    Status: InProgress (2/5 elements completed)
      v Activity_1 [Completed]
      > Activity_2 [InProgress]
      - Activity_3 [NotStarted]
    Status: InProgress (2/5 elements completed)
      v Activity_1 [Completed]
      > Activity_2 [InProgress]
      - Activity_3 [NotStarted]
    
  4. 実行中のインシデントでは、ログ行を出力します。
  5. finalStatusCompleted または Successfulの場合に 0 を終了します。1そうでなければ。
# Debug with auto-detected folder
uip maestro debug ./invoice-orchestration

# Specify folder and inline inputs
uip maestro debug ./invoice-orchestration --folder-id 2553016 \
  --inputs '{"amount":100,"customer":"Acme"}'

# Inputs from a file
uip maestro debug ./invoice-orchestration --inputs @inputs.json
# Debug with auto-detected folder
uip maestro debug ./invoice-orchestration

# Specify folder and inline inputs
uip maestro debug ./invoice-orchestration --folder-id 2553016 \
  --inputs '{"amount":100,"customer":"Acme"}'

# Inputs from a file
uip maestro debug ./invoice-orchestration --inputs @inputs.json

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

{
  "Code": "MaestroDebug",
  "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",
    "elementExecutions": [
      { "elementId": "Activity_1", "status": "Completed" }
    ]
  }
}
{
  "Code": "MaestroDebug",
  "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",
    "elementExecutions": [
      { "elementId": "Activity_1", "status": "Completed" }
    ]
  }
}

参照

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得