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 vss adicionar

Syntax and options for `uip vss add`, which adds a process or a local Data Fabric entity to the current vertical solution.

uip vss add adds a process or a local Data Fabric entity to the current vertical solution. For process, it rewrites vss.json to include the new entry. For entity, it writes an entity definition into data_fabric_schema.json — it does not touch vss.json. The [target] positional means something different per type: for process it's the project directory to add (defaults to the current directory); for entity it's the entity name (required).

Resumo

uip vss add process [target]
uip vss add entity  <target> [options]
uip vss add process [target]
uip vss add entity  <target> [options]
  • <type>process, entity, or connection.
  • [target] — Project directory (process) or entity name (entity). Defaults to the current directory for process; required for entity.

Opções

BandeiraDescriptionAplicávelA
--field <definition>Entity field definition as <name>:<type>. Repeatable.entity
-s, --schema <path>Path to data_fabric_schema.json. Defaults to data_fabric_schema.json in the target directory.entity
-t, --target-path <targetPath>Vertical solution directory. Defaults to the current directory.all types

Exemplos

# Add a process from the current directory
uip vss add process

# Add a process from an explicit path
uip vss add process ./processes/onboarding

# Add a local Data Fabric entity with two fields
uip vss add entity Employee --field name:string --field salary:number
# Add a process from the current directory
uip vss add process

# Add a process from an explicit path
uip vss add process ./processes/onboarding

# Add a local Data Fabric entity with two fields
uip vss add entity Employee --field name:string --field salary:number

Formato dos dados (--output json)

{
  "Code": "ProcessesAdded",
  "Data": {
    "Status": "1 processes added successfully",
    "Path": "/Users/alice/my-app"
  }
}
{
  "Code": "ProcessesAdded",
  "Data": {
    "Status": "1 processes added successfully",
    "Path": "/Users/alice/my-app"
  }
}

For entity, the shape is different:

{
  "Code": "EntityAdded",
  "Data": {
    "Entity": "Employee",
    "Fields": ["name", "salary"],
    "Schema": "/Users/alice/my-app/data_fabric_schema.json"
  }
}
{
  "Code": "EntityAdded",
  "Data": {
    "Entity": "Employee",
    "Fields": ["name", "salary"],
    "Schema": "/Users/alice/my-app/data_fabric_schema.json"
  }
}
Observação:

connection is registered as a valid <type> value but always fails with Failure: "Connections are not supported yet" — it is not implemented. Use process or entity.

  • uip vss init — produce the vss.json that add rewrites.
  • uip vss sync — concilia os processos registrados com o UiPath Cloud.
  • uip vss generate — atualize os tipos de TypeScript após adicionar processos.

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