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
- アクティビティ検索
- アクティビティ 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 トレースのフィードバック
- 移行
- 参照とサポート
重要 :
このコンテンツは機械翻訳によって処理されています。
新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。
UIP ルールの初期化
「uip rules init」の構文とオプション - 1 つのデシジョン テーブルでシードされたビジネス ルール プロジェクトを作成し、それをソリューションに登録します。
uip rules init は、1 つのデシジョン テーブルでシードされたビジネス ルール プロジェクトを作成します。プロジェクトには、 project.uiproj、 Business rule.dmn、 entry-points.json、 bindings_v2.jsonが含まれています。
プロジェクトの場所は、現在のディレクトリによって異なります。
- 既存のソリューション内では、プロジェクトは
./<name>で作成され、そのソリューションの.uipxマニフェストに追加されます。 - ソリューションの外部には、
<name>Solutionという名前の親ソリューションが作成され、その中に./<name>Solution/<name>でプロジェクトが作成されます。 --skip-solution-registrationでは、プロジェクトは./<name>で作成され、どのソリューションにも登録されません。
概要
uip rules init <name> [--force] [--skip-solution-registration]
uip rules init <name> [--force] [--skip-solution-registration]
引数
| 名前 | Required | 目的 |
|---|---|---|
<name> | ○ | ビジネス ルールのプロジェクト名。文字、数字、アンダースコア (_)、およびハイフン (-) のみ。 |
オプション
| 長押し | 値 (Value) | 既定 (Default) | 説明 |
|---|---|---|---|
--force | フラグ | 無効 | ターゲット ディレクトリが存在していて空でなくても、プロジェクトを初期化します。ディレクトリにすでに.dmnファイルが保持されている場合、既存のルール ファイルはそのまま残RuleStatusPreservedになります。 |
--skip-solution-registration | フラグ | 無効 | 周囲のソリューションにプロジェクトを登録したり、親ソリューションを作成したりしないでください。SolutionRegistration.Status は OptedOutです。 |
例
# Create a project; outside a solution, a parent my-rules-projectSolution is created
uip rules init my-rules-project
# Create a project; outside a solution, a parent my-rules-projectSolution is created
uip rules init my-rules-project
データシェイプ(--output json)
{
"Code": "RulesInit",
"Data": {
"Status": "Created successfully",
"Path": "/workspace/my-rules-projectSolution/my-rules-project",
"RuleStatus": "Created",
"SolutionRegistration": {
"Status": "Registered",
"Message": "Project registered in parent solution.",
"Solution": "/workspace/my-rules-projectSolution/my-rules-projectSolution.uipx",
"Project": "my-rules-project/project.uiproj",
"ProjectId": "00000000-0000-0000-0000-000000000000",
"Instructions": "The project is listed in the parent solution manifest.\nPacking or uploading the solution will sync solution resources automatically."
},
"AutoCreatedSolution": {
"Name": "my-rules-projectSolution",
"Path": "/workspace/my-rules-projectSolution",
"SolutionFile": "/workspace/my-rules-projectSolution/my-rules-projectSolution.uipx"
},
"ProjectArtifacts": { "Created": true },
"NextSteps": "The project is listed in the parent solution manifest.\nPacking or uploading the solution will sync solution resources automatically."
}
}
{
"Code": "RulesInit",
"Data": {
"Status": "Created successfully",
"Path": "/workspace/my-rules-projectSolution/my-rules-project",
"RuleStatus": "Created",
"SolutionRegistration": {
"Status": "Registered",
"Message": "Project registered in parent solution.",
"Solution": "/workspace/my-rules-projectSolution/my-rules-projectSolution.uipx",
"Project": "my-rules-project/project.uiproj",
"ProjectId": "00000000-0000-0000-0000-000000000000",
"Instructions": "The project is listed in the parent solution manifest.\nPacking or uploading the solution will sync solution resources automatically."
},
"AutoCreatedSolution": {
"Name": "my-rules-projectSolution",
"Path": "/workspace/my-rules-projectSolution",
"SolutionFile": "/workspace/my-rules-projectSolution/my-rules-projectSolution.uipx"
},
"ProjectArtifacts": { "Created": true },
"NextSteps": "The project is listed in the parent solution manifest.\nPacking or uploading the solution will sync solution resources automatically."
}
}
| フィールド | 説明 |
|---|---|
RuleStatus | Created シードされたデシジョンテーブルが書き込まれた日時。プロジェクトにすでに.dmnファイルがある場合にPreservedします。 |
SolutionRegistration.Status | Registered、AlreadyRegistered、Skipped、Failed、NotInSolution、またはOptedOutのいずれかです。 |
AutoCreatedSolution | init親ソリューションを作成した場合にのみ存在します。 |
ProjectArtifacts | プロジェクトがソリューションに登録されている場合にのみ存在します。 |
NextSteps | 登録によって指示が返された場合にのみ出席してください。 |
終了コード
共有コントラクトの 終了コード をご覧ください。名前に文字、数字、アンダースコア、ハイフン以外の文字が含まれている場合、またはターゲット ディレクトリが存在していて空ではなく、--forceが渡されない場合、コマンドは1終了します。
関連コマンド
uip rules refreshは、.dmnファイルを編集した後にエントリ ポイントを再生成します。uip rules validateがプロジェクトをチェックします。uip solutionは、プロジェクトを保持するソリューションをパッケージ化、パブリッシュ、デプロイします。
参照
- ツールの概要とプロジェクトのレイアウトの
uip rules。