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

uip rules

Syntax and options for `uip rules`, which scaffolds, validates, and debugs UiPath Business Rules (DMN) projects and reads the rules deployed to Orchestrator.

uip rules is the Business Rules tool. It creates and maintains Business Rules projects on disk, where each rule is a DMN decision table in a .dmn file, and reads the business rules deployed to Orchestrator folders. Install it with uip tools install rules, or invoke uip rules … and let auto-install run. Refer to Tools (plugins) for the install model.

A Business Rules project is one project inside a solution. Packing, publishing, and deploying it goes through uip solution.

コマンド​

コマンド動作対象目的
initローカル ファイルシステムCreate a Business Rules project seeded with one decision table and register it in the enclosing solution.
refreshローカル ファイルシステムRegenerate entry-points.json and bindings_v2.json from the project's .dmn files.
validateローカル ファイルシステムCheck the project's .dmn files and its entry-points.json for what Studio Web blocks publish and debug on.
debugStudio WebUpload the project's solution to Studio Web and evaluate it once through the rules engine.
list (プレビュー)OrchestratorList the business rules deployed to a folder.
get (プレビュー)OrchestratorGet one deployed business rule by name.
versions (プレビュー)OrchestratorList the versions of a deployed business rule.
describe (プレビュー)OrchestratorGet the entry points of a deployed rule's active version, with their input and output argument schemas.

list, get, versions, and describe are labeled Preview in the command help. Refer to Versioning for what the Preview label means.

概要​

uip rules init <name> [--force] [--skip-solution-registration]
uip rules refresh <project-path>
uip rules validate <project-path>
uip rules debug <project-path> [-i <json|@file.json>] [--explain] [--folder-path <path> | --folder-key <key>] [--timeout <seconds>] [--login-validity <minutes>]

uip rules list (--folder-path <path> | --folder-key <key>) [-l <number>] [--offset <number>]
uip rules get <rule-name> (--folder-path <path> | --folder-key <key>)
uip rules versions <rule-name> (--folder-path <path> | --folder-key <key>) [-l <number>] [--offset <number>]
uip rules describe <rule-name> (--folder-path <path> | --folder-key <key>)
uip rules init <name> [--force] [--skip-solution-registration]
uip rules refresh <project-path>
uip rules validate <project-path>
uip rules debug <project-path> [-i <json|@file.json>] [--explain] [--folder-path <path> | --folder-key <key>] [--timeout <seconds>] [--login-validity <minutes>]

uip rules list (--folder-path <path> | --folder-key <key>) [-l <number>] [--offset <number>]
uip rules get <rule-name> (--folder-path <path> | --folder-key <key>)
uip rules versions <rule-name> (--folder-path <path> | --folder-key <key>) [-l <number>] [--offset <number>]
uip rules describe <rule-name> (--folder-path <path> | --folder-key <key>)

All commands honor the global options (--output, --output-filter, --log-level, --log-file). Exit codes follow the shared contract.

Project layout​

uip rules init creates a project directory with these files:

ファイル内容
project.uiprojProject name and ProjectType: "BusinessRules".
Business rule.dmnThe seeded decision table.
entry-points.jsonThe rule's entry points, derived from the .dmn files.
bindings_v2.jsonThe rule's resource bindings, derived from the .dmn files.

refresh, validate, and debug take the project directory as <project-path>. The directory must contain project.uiproj and at least one .dmn file at its top level.

一般的なフロー​

  1. Scaffold the project with uip rules init.
  2. Edit the .dmn file, in Studio Web or in a local editor.
  3. After editing a .dmn file outside Studio Web, regenerate the entry points with uip rules refresh.
  4. Check the project with uip rules validate.
  5. Evaluate the rule with sample inputs with uip rules debug.
  6. Pack, publish, and deploy the solution with uip solution.
  7. Read the deployed rule and its argument schemas with uip rules describe when binding it from a BPMN process, RPA workflow, or case.

参照​

  • uip solution for packing, publishing, and deploying the solution that holds the rules project.
  • uip traces for reading the trace that uip rules debug --explain publishes.
  • Global options and Exit codes for the contracts shared by every command.
  • コマンド​
  • 概要​
  • Project layout​
  • 一般的なフロー​
  • 参照​

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

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得