UiPath Documentation
uipath-cli
latest
false
Guía del usuario de UiPath CLI
Importante :
Este contenido se ha traducido mediante traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.

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.

Sinopsis​

uip rules refresh <project-path>
uip rules refresh <project-path>

Argumentos​

NombreObligatorioPropósito
<project-path>SíPath to the Business Rules project directory. The directory must contain project.uiproj.

Ejemplo​

uip rules refresh ./LoanEligibilitySolution/LoanEligibility
uip rules refresh ./LoanEligibilitySolution/LoanEligibility

Forma de datos (--json de salida)​

{
  "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.

Códigos de salida​

Refer to Exit codes for the shared contract. The command exits 1 in these cases:

CondiciónErrorCode
The project has no .dmn file at its top level.not_found
A .dmn file cannot be read. No file is written.invalid_argument

Ver también​

  • uip rules for the tool overview and project layout.

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte(opens in new window)

¿Quiere aprender? UiPath Academy(opens in new window)

¿Tiene alguna pregunta? Foro de UiPath(opens in new window)

Manténgase actualizado