UiPath Documentation
uipath-cli
latest
false
Guia do usuário da UiPath CLI
Importante :
Este conteúdo foi traduzido com auxílio de tradução automática. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

uip api-workflow validate

Syntax and options for `uip api-workflow validate`, which checks an API Workflow JSON file's structure before packaging or running it.

uip api-workflow validate checks an API Workflow JSON file's structure — task shapes, expressions, and metadata — against schema, without executing it. Use it as a fast pre-flight check before run or pack.

Resumo

uip api-workflow validate <file> [options]
uip api-workflow validate <file> [options]
  • <file> — path to the API Workflow JSON file to validate.

Opções

BandeiraDescription
--verboseEnable verbose logging, including a stack trace if validation itself throws.

Exemplos

uip api-workflow validate ./workflow.json
uip api-workflow validate ./workflow.json
uip api-workflow validate ./workflow.json --verbose
uip api-workflow validate ./workflow.json --verbose

Formato dos dados (--output json)

{
  "Code": "ApiwfValidate",
  "Data": {
    "File": "/abs/path/to/workflow.json",
    "Status": "Valid"
  }
}
{
  "Code": "ApiwfValidate",
  "Data": {
    "File": "/abs/path/to/workflow.json",
    "Status": "Valid"
  }
}

When validation passes with warnings, Data adds a Warnings field summarizing the count and each warning's path and message. When validation fails (errors present), the command exits non-zero and reports a Failure result whose Instructions field lists every issue found, each tagged [error] or [warning] with its JSON path.

Veja também

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades