uipath-cli
latest
false
UiPath CLI 用户指南
- 概述
- 开始使用
- 概念
- 使用 UiPath CLI
- 操作指南
- CI/CD 方法
- 命令参考
- 概述
- 退出代码
- 全局选项
- UIP 编码智能体
- UIP 编码器
- uip 上下文基础
- UIP 文档
- uip 函数
- UIP 防护机制
- uip llm 配置
- uip llm 网关
- uip maestro authoring
- uip maestro registry
- uip 模型中心
- activities find
- activities get-default-xaml
- 分析
- analyzer-rules list
- 构建
- 清理
- data-fabric-entities install
- data-fabric-entities list
- files diff
- 获取库对象存储库
- 获取对象存储库
- 初始化
- instances list
- 打包
- packages inspect
- packages install
- packages versions
- 发布
- 远程
- restore
- 运行、调试和调试执行
- 设置
- studio start
- templates search
- test-data add-entity
- test-data add-queue
- test-data add-variation
- TM
- UIA
- 验证
- workflow-examples get
- workflow-examples list
- UIP 任务
- UIP 追踪
- UIP 追踪反馈
- 迁移
- 参考与支持
重要 :
请注意,此内容已使用机器翻译进行了本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
uip rules refresh
Syntax and options for `uip rules refresh`, which regenerates a Business Rules project's entry points and bindings from its `.dmn` files.
uip rules refresh regenerates entry-points.json and bindings_v2.json from the .dmn files at the top level of a Business Rules project. Each entry point keeps the uniqueId it already has in entry-points.json, so processes and workflows bound to the rule stay bound. Only the files whose content changes are written.
Run it after you edit a .dmn file outside Studio Web, before uip solution pack.
大纲
uip rules refresh <project-path>
uip rules refresh <project-path>
参数
| 名称 | 必填 | 用途 |
|---|---|---|
<project-path> | 是 | Path to the Business Rules project directory. The directory must contain project.uiproj. |
示例
uip rules refresh ./LoanEligibilitySolution/LoanEligibility
uip rules refresh ./LoanEligibilitySolution/LoanEligibility
数据形状(--输出 json)
{
"Code": "RulesRefresh",
"Data": {
"Status": "Updated business rules package files",
"ProjectPath": "/workspace/LoanEligibilitySolution/LoanEligibility",
"DmnFiles": ["Business rule.dmn"],
"WrittenFiles": ["entry-points.json"],
"UnchangedFiles": ["bindings_v2.json"]
}
}
{
"Code": "RulesRefresh",
"Data": {
"Status": "Updated business rules package files",
"ProjectPath": "/workspace/LoanEligibilitySolution/LoanEligibility",
"DmnFiles": ["Business rule.dmn"],
"WrittenFiles": ["entry-points.json"],
"UnchangedFiles": ["bindings_v2.json"]
}
}
Status is Business rules package files are up to date when no file needed rewriting.
退出代码
Refer to Exit codes for the shared contract. The command exits 1 in these cases:
| 条件 | ErrorCode |
|---|---|
The project has no .dmn file at its top level. | not_found |
A .dmn file cannot be read. No file is written. | invalid_argument |
相关命令
uip rules validatereportsRULES_ENTRY_POINTS_STALEwhenentry-points.jsonneeds a refresh.uip solution packpacks the solution after the refresh.
另请参阅
uip rulesfor the tool overview and project layout.