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 maestro bpmn update-metadata

Syntax and options for the deprecated `uip maestro bpmn update-metadata` command — use `uip maestro bpmn refresh` instead.

Avertissement :

Deprecated. Use uip maestro bpmn refresh instead. The command still works and is documented below for existing scripts, but every invocation prints a [WARN] deprecation notice to stderr.

uip maestro bpmn update-metadata writes (or checks) project.uiproj, operate.json, entry-points.json, bindings_v2.json, and package-descriptor.json from a .bpmn file. Unlike refresh, it does not materialize Integration Service connection bindings — a package produced this way is not guaranteed runnable. It's registered under the bpmn branch.

Synthèse

uip maestro bpmn update-metadata <bpmn> [--output-dir <dir>] [--dry-run]
uip maestro bpmn update-metadata <bpmn> [--output-dir <dir>] [--dry-run]

Les options globales sont respectées. Les codes de sortie suivent le contrat standard.

Arguments

  • <bpmn> (obligatoire) : chemin d'accès au fichier .bpmn .

Options

OptionDefaultDescription
--output-dir <dir>directory of <bpmn>Directory for the metadata JSON files. In --dry-run mode, this is the directory whose existing files are checked for drift instead.
--dry-rundésactivéReport drift against the .bpmn file without writing anything.

Exemples

# Write metadata files next to the .bpmn
uip maestro bpmn update-metadata process.bpmn

# Check for drift without writing
uip maestro bpmn update-metadata process.bpmn --dry-run
# Write metadata files next to the .bpmn
uip maestro bpmn update-metadata process.bpmn

# Check for drift without writing
uip maestro bpmn update-metadata process.bpmn --dry-run

Format des données (--sortie json)

Write mode:

{
  "Code": "MaestroBpmnUpdateMetadata",
  "Data": {
    "DryRun": false,
    "ProjectName": "process",
    "OutDir": "/workspace/my-project",
    "FilesWritten": [
      "project.uiproj",
      "operate.json",
      "entry-points.json",
      "bindings_v2.json",
      "package-descriptor.json"
    ],
    "EntryPointCount": 1
  }
}
{
  "Code": "MaestroBpmnUpdateMetadata",
  "Data": {
    "DryRun": false,
    "ProjectName": "process",
    "OutDir": "/workspace/my-project",
    "FilesWritten": [
      "project.uiproj",
      "operate.json",
      "entry-points.json",
      "bindings_v2.json",
      "package-descriptor.json"
    ],
    "EntryPointCount": 1
  }
}

--dry-run mode:

{
  "Code": "MaestroBpmnUpdateMetadata",
  "Data": {
    "DryRun": true,
    "Status": "OK",
    "Drifts": []
  }
}
{
  "Code": "MaestroBpmnUpdateMetadata",
  "Data": {
    "DryRun": true,
    "Status": "OK",
    "Drifts": []
  }
}

Voir également

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

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour