uipath-cli
latest
false
UiPath CLI ユーザー ガイド
- 概要
- はじめに
- 概念
- UiPath CLI を使用する
- 使用ガイド
- CI/CD レシピ
- コマンド リファレンス
- 概要
- 終了コード
- グローバル オプション
- uip codedagent
- UIP コーダー
- UIP のコンテキスト グラウンディング
- uip docsai
- uip 関数
- UIP ガードレール
- uip llm - 構成
- uip llm-gateway
- UIP Maestro のオーサリング
- UIP Maestro レジストリ
- uip model-hub
- uip ont
- アクティビティ検索
- アクティビティ 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 resources
- UIP タスク
- uip traces
- UIP トレースのフィードバック
- 移行
- 参照とサポート
重要 :
このコンテンツは機械翻訳によって処理されています。
新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。
UIP Maestro フローの検証
「uip maestro flow validate」の構文とオプション - .flow」ファイルをスキーマおよび任意のガバナンス ポリシーに照らして検証します。
uip maestro flow validate は、構造的なクロスフィールド チェックを使用して、フロー スキーマに対して .flow ファイルを検証します。さらに、任意の --governance パスを使用することで、組織のガバナンス ポリシーに照らしてエージェント ノードを検証します。
概要
uip maestro flow validate [flowFile] [--governance] [--strict-bindings] [--strict-expressions] [--force]
uip maestro flow validate [flowFile] [--governance] [--strict-bindings] [--strict-expressions] [--force]
引数
[flowFile](optional) — path to the.flowfile, or a project directory containing one. Default: the current directory. For a directory, the command validates the same.flowfile thatuip maestro flow debugruns: theMainFilefromproject.uiproj, then<Name>.flow, then the first.flowfile in the project root,content/, orflow_files/. The command fails when the directory has no.flowfile.
オプション
--governance— 組織のガバナンス ポリシーに照らしてエージェント ノードを検証します。uip loginが必要です。CLI は、チェックを実行する前に、プラットフォームからenforcementsと許可されたmodelNamesをフェッチします。フェッチに失敗した場合、コマンドはエラーになります。ポリシーチェックをスキップするには--governance省略します。--strict-bindings— fail validation when a Managed HTTP node (core.action.http.v2) carries a connector-shaped label but no Integration Service binding, or when theconnectionIdof a connector node or aConnectionIdbinding row is not a GUID. Default: warn only — omitting this flag still runs the check, it just doesn't fail the build.--strict-expressions— キャンバスで使用する式チェッカーと同じ式チェッカーに従って、式またはスクリプトの本文に型エラーがある場合、検証に失敗します。既定: warn のみ。この CI ゲート チェックは常に実行されます。フラグは、検出結果が致命的であるかどうかのみを制御します。--force— キャッシュされたコピーを読み取るのではなく、古いハンドル チェックが使用する現在のノード マニフェストを再取得します。キャッシュは書き込みuip maestro flow registry pullキャッシュで、テナントごとに 30 分間保持されます。registry pull --forceと同様に、再取得されたマニフェストによってキャッシュが置き換えられます。
動作
- スキーマの検証はローカルで実行され、ログインは必要ありません。
- 構造チェックにより、ノード、エッジ、バインド、変数、および定義間の参照が一貫していることが確認されます。
- 古いハンドル チェックでは、
.flowファイルに埋め込まれた定義に加えて、各エッジ ハンドルを現在のノード マニフェストと比較します。Studio Web は現在のマニフェストに対してレンダリングされるため、古い定義から構築されたフローは、埋め込みチェックに合格しても、欠落したエッジでレンダリングできます。現在のマニフェストを読み込めない場合、チェックはスキップされ、警告が表示されます。 - [With
--governanceでは、その構成 (モデル、ツール、ポリシー) が、フェッチされた適用と競合するエージェント ノードにフラグが付けられます。 .flowファイルの複数のスコープ (ルートまたは任意のサブフロー)、またはノードとエッジの両方で使用される ID は、エラーです。このエラーには、ID を使用する各種類とスコープに名前を付けます。- ソリューションのエンティティに名前を付けているもののエンティティのバインドを持たない Data Fabric ノードは、 で失敗
INLINE_ENTITY_UNBOUND。同じチェックによって、uip maestro flow pack、uip maestro flow debug、および評価の実行が停止されます。ノードでuip maestro flow nodes configureを実行して、バインドを書き込みます。 - ソリューション内のプロセス リソースと一致しないソリューション内のプロセス キーを呼び出すノードはエラーです。
- A Script node body that is not valid JavaScript is an error, with or without
--strict-bindings. The same check stopsuip maestro flow pack. - A root trigger whose
inputs.entryPointIdis set and is not a GUID is an error, because the packed entry point needs a GUID. - A node ID that is also the ID of an
inorinoutvariable of the same graph is an error. Anoutvariable can share its ID with a node. - A binding ID that is not an identifier, such as
invoice-proc, fails withBINDING_ID_NOT_IDENTIFIER. A reference to it resolves to null at runtime with no error. previewで始まるノードとエッジのIDはエラーです:フローをパックするコンバーターは、それらのノードとエッジを除外するため、uip maestro flow packとuip maestro flow debugは失敗します。ノードまたはエッジの名前を変更し、そのエッジと$vars参照を更新します。付箋は免除されます。
Extract document nodes
These checks apply to Extract document nodes (uipath.ixp.extract-document-builder):
| Finding | 重要度 |
|---|---|
The node names no processor. The message gives the uip maestro flow nodes provision command that fixes it. | Error |
Two nodes define the same processor (inputs.processorKey) and neither is marked inputs.processorReadOnly. | Error, one for each node |
The extraction schema in inputs.schemaDocument has a fault, for example a field that references a field type that does not exist. | Error |
inputs.schemaDocument is a bare JSON Schema, or its entries have no stable IDs. The message points to uip maestro flow nodes schema set. | Warning |
Warning
These findings are warnings and do not fail the command:
| Finding | 備考 |
|---|---|
CONNECTION_ID_NOT_GUID | The connectionId of a connector node, or the resourceKey or default of a ConnectionId binding row, is not a GUID. This includes an unfilled <...> placeholder. An error with --strict-bindings. |
VARS_REFS_IN_DOUBLE_QUOTES | Every $vars reference of an End node output or of a variable update is between double quotes. The value evaluates to null at runtime with no error. |
UNRESOLVED_BINDING | A binding placeholder has no binding row. The message names the command that writes the rows again. An error with --strict-bindings. |
| Variable type not recognized | An in or out variable in the root of the flow has a type that Flow does not recognize, such as date. It is packaged as a plain string. |
| Quick Form binding to a node on some paths | A Quick Form field binds the output of a node that runs on only some of the paths that reach the form. |
| 共有コネクション | Nodes of different connectors use the same connection. |
Ignored parentId | The parentId of a node names a node that is not a loop, a do-while, or an error handler. |
| Shared agent source | Two agent nodes have the same inputs.source. |
例
# Validate the project in the current directory
uip maestro flow validate
# Structural validation only (no login required)
uip maestro flow validate invoice-flow.flow
# Full validation including governance policy for agent nodes
uip maestro flow validate invoice-flow.flow --governance
# Validate the project's main .flow file
uip maestro flow validate ./my-flow-project
# Fail on expression and script type errors (warnings by default)
uip maestro flow validate invoice-flow.flow --strict-expressions
# Validate against freshly fetched node manifests, bypassing the 30-minute cache
uip maestro flow validate invoice-flow.flow --force
# Validate the project in the current directory
uip maestro flow validate
# Structural validation only (no login required)
uip maestro flow validate invoice-flow.flow
# Full validation including governance policy for agent nodes
uip maestro flow validate invoice-flow.flow --governance
# Validate the project's main .flow file
uip maestro flow validate ./my-flow-project
# Fail on expression and script type errors (warnings by default)
uip maestro flow validate invoice-flow.flow --strict-expressions
# Validate against freshly fetched node manifests, bypassing the 30-minute cache
uip maestro flow validate invoice-flow.flow --force
データシェイプ(--output json)
成功について:
{
"Code": "FlowValidate",
"Data": {
"File": "invoice-flow.flow",
"Status": "Valid"
}
}
{
"Code": "FlowValidate",
"Data": {
"File": "invoice-flow.flow",
"Status": "Valid"
}
}
ファイルが有効で警告がある場合、 Data には Warningsも含まれます。警告カウントの文字列と、その後に警告ごとに 1 行 - [<path>] <message> 続きます。
検証に失敗すると、コマンドはコード 1 で終了し、 Failure 結果を返します。Message は Validation failed for <file>で、 Instructions はエラー数と、その後に問題ごとに 1 行の - [<severity>] [<path>] <message> 行を保持します。
参照
uip maestro flow debug— Studio Web による動的検証uip maestro flow pack— 検証済みのプロジェクトをパッケージ化する- フローの概要