UiPath Documentation
uipath-cli
latest
false
Guide de l'utilisateur de UiPath CLI
Important :
Ce contenu a été traduit à l'aide d'une traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être 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.

Synthèse​

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

Arguments​

NomRequisObjectif
<project-path>ouiPath to the Business Rules project directory. The directory must contain project.uiproj.

Exemple​

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

Format des données (--sortie 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.

Codes de sortie​

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

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

Voir également​

  • uip rules for the tool overview and project layout.

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance(opens in new window)

Vous souhaitez apprendre ? UiPath Academy(opens in new window)

Vous avez des questions ? UiPath Forum(opens in new window)

Rester à jour