uipath-cli
latest
false
- 概要
- はじめに
- 概念
- Using UiPath CLI
- 使用ガイド
- CI/CD recipes
- コマンド リファレンス
- 概要
- 終了コード
- Global options
- uip codedagent
- uip docsai
- add-test-data-entity
- add-test-data-queue
- add-test-data-variation
- analyze
- build
- プロジェクトを作成
- diff
- find-activities
- get-analyzer-rules
- get-default-activity-xaml
- get-errors
- get-manual-test-cases
- get-manual-test-steps
- get-versions
- get-workflow-example
- indicate-application
- indicate-element
- inspect-package
- install-data-fabric-entities
- install-or-update-packages
- list-data-fabric-entities
- list-workflow-examples
- pack
- 元に戻す
- run-file
- search-templates
- start-studio
- stop-execution
- uia
- uip traces
- 移行
- Reference & support
UiPath CLI user guide
最終更新日時 2026年5月7日
uip flow validate validates a .flow file against the Flow schema with structural cross-field checks. An optional --governance pass additionally validates agent nodes against your organization's governance policies.
Synopsis
uip flow validate <flowFile> [--governance]
uip flow validate <flowFile> [--governance]
Honors global options. Exit codes follow the standard contract.
引数
<flowFile>(required) — path to the.flowfile (or a JSON file conforming to the Flow schema).
オプション
--governance— also validate agent nodes against organization governance policies. Requiresuip login; the CLI fetchesenforcementsand the allowedmodelNamesfrom the platform before running the check. If the fetch fails, the command errors out — omit--governanceto skip policy checks.
動作
- Schema validation runs locally and does not require login.
- Structural checks ensure references between nodes, edges, bindings, variables, and definitions are consistent.
- With
--governance, any agent node whose configuration (model, tools, policies) conflicts with the fetched enforcements is flagged.
例
# Structural validation only (no login required)
uip flow validate invoice-flow.flow
# Full validation including governance policy for agent nodes
uip flow validate invoice-flow.flow --governance
# Structural validation only (no login required)
uip flow validate invoice-flow.flow
# Full validation including governance policy for agent nodes
uip flow validate invoice-flow.flow --governance
Data shape (--output json)
On success:
{
"Code": "FlowValidate",
"Data": {
"File": "invoice-flow.flow",
"Status": "Valid"
}
}
{
"Code": "FlowValidate",
"Data": {
"File": "invoice-flow.flow",
"Status": "Valid"
}
}
On validation failure, the command exits non-zero and returns a Failure result with error details in Message / Instructions.
注:
The exact shape of the failure payload (per-error list, paths, rule IDs) may evolve across releases. For scripts that parse failure details programmatically, run a known-bad validation once with --output json to capture the current shape and pin @uipath/cli in CI.
参照
uip flow debug— dynamic validation via Studio Webuip flow pack— pack a validated project- Flow overview