UiPath Documentation
uipath-cli
2026.10
false
Guía del usuario de UiPath CLI

Nodos de flujo maestro de UIP y bordes de flujo maestro de UIP

Sintaxis y opciones para `nodos de flujo maestro de uip` y `bordes de flujo maestro de uip`, que crean, configuran, enumeran y eliminan nodos y bordes en un archivo `.flow`.

Un flujo es un gráfico. Los nodos son los vértices (desencadenadores, actividades, conectores, agentes); los bordes son las conexiones dirigidas entre ellos. Los comandos uip maestro flow nodes y uip maestro flow edges editan un archivo .flow in situ: añaden, configuran, enumeran y eliminan ambos.

Esta página también cubre dos grupos de comandos complementarios que editan el archivo .flow de la misma manera: variables y bindings.

Sinopsis​

uip maestro flow nodes create     <file> <node-type> [-i <json>] [--position <x,y>] [--label <label>] [--id <id>] [--source <uuid>] [--parent <node-id>] [--metadata <file> --scripts <dir>]
uip maestro flow nodes configure  <file> <node-id> --detail <json>
uip maestro flow nodes list       <file> [--limit <n>] [--offset <n>]
uip maestro flow nodes delete     <file> <node-id>
uip maestro flow nodes provision  <file> [--node-id <node-id>]
uip maestro flow nodes schema get <file> --node-id <node-id>
uip maestro flow nodes schema set <file> --node-id <node-id> --schema <json|@file> [--discard-draft]

uip maestro flow edges create <file> <source-id> <target-id> [--source-port <port>] [--target-port <port>]
uip maestro flow edges list   <file> [--limit <n>] [--offset <n>]
uip maestro flow edges delete <file> <edge-id>

uip maestro flow format [file]
uip maestro flow nodes create     <file> <node-type> [-i <json>] [--position <x,y>] [--label <label>] [--id <id>] [--source <uuid>] [--parent <node-id>] [--metadata <file> --scripts <dir>]
uip maestro flow nodes configure  <file> <node-id> --detail <json>
uip maestro flow nodes list       <file> [--limit <n>] [--offset <n>]
uip maestro flow nodes delete     <file> <node-id>
uip maestro flow nodes provision  <file> [--node-id <node-id>]
uip maestro flow nodes schema get <file> --node-id <node-id>
uip maestro flow nodes schema set <file> --node-id <node-id> --schema <json|@file> [--discard-draft]

uip maestro flow edges create <file> <source-id> <target-id> [--source-port <port>] [--target-port <port>]
uip maestro flow edges list   <file> [--limit <n>] [--offset <n>]
uip maestro flow edges delete <file> <edge-id>

uip maestro flow format [file]

Prevalece las opciones globales. Los códigos de salida siguen el contrato estándar.

Los nombres de grupo singulares node, edge, variable y binding son alias de nodes, edges, variables y bindings. add es un alias de create en los cuatro grupos, y remove es un alias de delete en variables y bindings.


Creación de nodos de flujo maestro de uip​

Crea un nodo en un archivo .flow . El tipo de nodo debe existir en el registro: utiliza uip maestro flow registry search para descubrir valores <node-type> válidos.

Argumentos​

  • <file> (obligatorio) : ruta al archivo .flow .
  • <node-type> (obligatorio) : identificador de tipo de nodo (p. ej. core.trigger.manual, uipath.connector.slack.send-message).

Opciones​

OpciónDescripción
-i, --input <json>Objeto JSON de valores de entrada para establecer en el nodo (por ejemplo '{"script":"…"}'). Debe ser un objeto JSON, no una matriz o escalar. Para los nodos de conector (tipo uipath.connector.*), no pase --input aquí; ejecute nodes configure después.
--position <x,y>Posición del lienzo, p. ej. 250,150. Tanto x como y son números obligatorios.
--label <label>Mostrar etiqueta para el nodo.
--id <id>Exact ID for the node, used as given. Without it, the ID is the camel-cased label plus a number. The ID must be unused in the flow.
--source <uuid>Source UUID for node types whose definition declares a source dependency (populates inputs.source). For an inline agent node, pass the agent's ProjectId. For an agent resource node, pass the resource id from the parent inline agent's resources[]. An inline agent node needs no --source when the flow project holds exactly one inline agent folder.
--parent <node-id>ID of the existing node that should contain this node — set when authoring a loop body whose containment can't be inferred from edges alone (typically the id of a core.logic.loop node). The ID of a core.subflow node puts the new node inside that subflow.
--metadata <file>Solo actividades fuera del catálogo. El archivo de metadatos de la actividad (<Name>.json) generado por uip is activities metadata generate. La definición de nodo se crea a partir de este archivo en lugar del registro, y <node-type> debe ser uipath.connector.custom.<connector-key>.<slug>. Requiere --scripts.
--scripts <dir>Solo actividades fuera del catálogo. Directorio que contiene <scriptRef>.js para la acción y para cada búsqueda a la que hacen referencia los metadatos. Las fuentes del script están incrustadas en el nodo. Requiere --metadata.

Ejemplo​

uip maestro flow nodes create invoice-flow.flow uipath.connector.slack.send-message --label "Notify team"
uip maestro flow nodes create invoice-flow.flow uipath.connector.slack.send-message --label "Notify team"

Forma de datos (--output json)​

{
  "Code": "NodeAddSuccess",
  "Data": {
    "Node": { "id": "node_a1b2c3d4", "type": "uipath.connector.slack.send-message" },
    "DefinitionAdded": true,
    "BindingsCreated": 0,
    "VariableCount": 0
  }
}
{
  "Code": "NodeAddSuccess",
  "Data": {
    "Node": { "id": "node_a1b2c3d4", "type": "uipath.connector.slack.send-message" },
    "DefinitionAdded": true,
    "BindingsCreated": 0,
    "VariableCount": 0
  }
}

DefinitionAdded es true en la primera inserción de un node-type dado: se crea la entrada correspondiente en la matriz .flow definitions[] .

Al pasar solo uno de --metadata y --scripts , el comando falla.

The command fails with ErrorCode: invalid_argument and leaves the .flow file unchanged in these cases:

  • --id is already in use, or is the ID of an in or inout variable of the same graph.
  • --id is not a valid identifier, for example an ID with a space or a leading digit.
  • --parent names a node that does not exist.

A node type that the tenant has not enabled fails with ErrorCode: not_enabled.

Extract document nodes​

The Extract document node (uipath.ixp.extract-document-builder) extracts data from a document with a schema that the node holds in inputs.schemaDocument. The node type is not listed by uip maestro flow registry. To find out if the tenant can run it, use uip maestro flow extraction check.

uip maestro flow nodes create invoice-flow.flow uipath.ixp.extract-document-builder --label "Extract invoice"
uip maestro flow nodes create invoice-flow.flow uipath.ixp.extract-document-builder --label "Extract invoice"

The node is created with a default extraction schema that has no field groups, and with the processor it extracts through. Data also carries IdpProcessor:

CampoDescripción
ProcessorKeyThe key written to the node as inputs.processorKey. A key passed in --input is kept.
ProcessorNameThe name of the processor.
ResourceFileThe processor resource file created under resources/solution_folder/idpProcessor/extraction/ in the solution.
ResourcePendingWhy no resource file was created. For a flow project outside a solution, the file is created when the project is packed inside one.

A node created with "processorReadOnly": true in --input reads the processor of another node, so Data has no IdpProcessor.

Write the extraction schema with nodes schema set.


Configuración de nodos de flujo maestro de UIP​

Rellene inputs.detail en un nodo ya añadido y cree los enlaces de flujo de trabajo que necesita. Ejecuta esto después de nodes create para conector, HTTP administrado y nodos de archivo (core.action.file.read, core.action.file.create). La conexión de Orchestrator de un nodo de archivo está vinculada solo por nodes configure; un connectionId pasado en nodes create --input no está vinculado.

Argumentos​

  • <file> (obligatorio) : ruta al archivo .flow .
  • (obligatorio) <node-id> ID del nodo a configurar (encuéntralo con nodes list).

Opciones​

  • --detail <json> (obligatorio) : JSON de configuración. La forma depende del tipo de nodo:

Nodos de conector (uipath.connector.*)​

Obtener method y endpoint de connectorMethodInfo en la salida registry get .

  • Required: connectionId, folderKey
  • Required for Generic activities (manifest activityType Generic, such as *.insert-record or *.list-records): method, endpoint, and objectName. For other activities, method and endpoint default to the values of the activity, and a value passed in --detail overrides the default. Discover objects with uip is resources list and uip is resources describe.
  • Opcional: bodyParameters, queryParameters, pathParameters, filter, customFieldsRequestDetails

Un valor que lee la salida de otro nodo debe utilizar el prefijo $vars. dentro de la expresión =js: , por ejemplo "=js:$vars.createEntityRecord1.output.Id". El formulario simple ("=js:createEntityRecord1.output.Id") se resuelve como undefined en tiempo de ejecución.

uip maestro flow nodes configure invoice-flow.flow node_a1b2c3d4 --detail '{
  "connectionId": "b2c3d4e5-0000-0000-0000-000000000001",
  "folderKey":    "c3d4e5f6-0000-0000-0000-000000000001",
  "method":       "POST",
  "endpoint":     "/issues",
  "bodyParameters": { "summary": "Bug" }
}'
uip maestro flow nodes configure invoice-flow.flow node_a1b2c3d4 --detail '{
  "connectionId": "b2c3d4e5-0000-0000-0000-000000000001",
  "folderKey":    "c3d4e5f6-0000-0000-0000-000000000001",
  "method":       "POST",
  "endpoint":     "/issues",
  "bodyParameters": { "summary": "Bug" }
}'

Desencadenadores del conector y eventos de espera (uipath.connector.trigger., uipath.connector.event.)​

Un desencadenador de conector inicia el flujo; un nodo de evento de espera detiene el flujo hasta que se activa el evento. Ambos toman la misma forma de detalle.

  • Obligatorio: connectionId, folderKey, eventMode (por ejemplo polling o webhooks)
  • Obligatorio para desencadenadores y eventos genéricos (manifiesto activityType GenericTrigger, como un Data Fabric *.record-created): objectName, el objeto al que suscribirse
  • Opcional: eventParameters, queryParameters, pathParameters, filter (un árbol de filtro estructurado, no una expresión sin formato)

Descubre eventMode con uip is triggers describe <connector-key> <eventType> <object> --connection-id <uuid>.

uip maestro flow nodes configure invoice-flow.flow node_trigger1 --detail '{"connectionId":"…","folderKey":"…","eventMode":"polling"}'
uip maestro flow nodes configure invoice-flow.flow node_trigger1 --detail '{"connectionId":"…","folderKey":"…","eventMode":"polling"}'

Nodos de archivo (core.action.file.read, core.action.file.create)​

Vincula la conexión de Orchestrator que el nodo utiliza para llegar a los archivos adjuntos del trabajo.

  • Requerido: connectionId (un UUID de conexión uipath-uipath-orchestrator )
  • Opcional: folderKey (el valor predeterminado es la carpeta de la conexión)
uip maestro flow nodes configure invoice-flow.flow node_file1 --detail '{"connectionId":"…"}'
uip maestro flow nodes configure invoice-flow.flow node_file1 --detail '{"connectionId":"…"}'

Nodos HTTP gestionados (core.action.http.v2)​

Dos modos de autenticación:

Modo de conector (authentication: "connector"): utiliza una conexión de Integration Service para la autenticación:

  • Requerido: authentication, method, connectionId, folderKey, targetConnector
  • method ∈ GET, POST, PUT, PATCH, DELETE, OPTIONS, HEAD
  • Opcional: url (ruta adjunta a la URL base del conector), headers, query, body
uip maestro flow nodes configure invoice-flow.flow node_abc --detail '{
  "authentication":  "connector",
  "targetConnector": "uipath-microsoft-outlook365",
  "connectionId":    "…",
  "folderKey":       "…",
  "method":          "GET",
  "url":             "/me"
}'
uip maestro flow nodes configure invoice-flow.flow node_abc --detail '{
  "authentication":  "connector",
  "targetConnector": "uipath-microsoft-outlook365",
  "connectionId":    "…",
  "folderKey":       "…",
  "method":          "GET",
  "url":             "/me"
}'

Modo manual (authentication: "manual"): sin autenticación de conector, proporciona tú mismo la URL completa y cualquier encabezado de autenticación:

  • Obligatorio: authentication, method, url (URL completa)
  • Opcional: headers, query, body (cadena; puede ser una expresión, por ejemplo =js:({…}))
uip maestro flow nodes configure invoice-flow.flow node_abc --detail '{
  "authentication": "manual",
  "method":         "GET",
  "url":            "https://api.example.com/data",
  "headers":        { "Authorization": "Bearer <token>" }
}'
uip maestro flow nodes configure invoice-flow.flow node_abc --detail '{
  "authentication": "manual",
  "method":         "GET",
  "url":            "https://api.example.com/data",
  "headers":        { "Authorization": "Bearer <token>" }
}'

Forma de datos (--output json)​

{
  "Code": "NodeConfigureSuccess",
  "Data": {
    "NodeId": "node_a1b2c3d4",
    "BindingsCreated": 2,
    "DetailPopulated": true
  }
}
{
  "Code": "NodeConfigureSuccess",
  "Data": {
    "NodeId": "node_a1b2c3d4",
    "BindingsCreated": 2,
    "DetailPopulated": true
  }
}

<node-id> can be a node inside a subflow.

When a connector metadata call fails, Instructions carries the HTTP status and the message of the service, and ErrorCode follows the status. For example, a connection that the tenant does not hold fails with not_found. HTTP 401 and 403 exit with code 2, and HTTP 400 exits with code 3.


Lista de nodos de flujo de uip maestro​

List all nodes in a .flow file, including the nodes inside subflows.

Argumentos​

  • <file> (obligatorio) : ruta al archivo .flow .

Opciones​

OpciónDescripción
-l, --limit <number>Número de filas a devolver, 1–10000.
--offset <number>Número de filas a omitir, 0–1000000. Predeterminado 0.

Sin --limit o --offset, se devuelve cada fila. Con cualquiera de los dos, Count es el número de filas devueltas, y la respuesta lleva un objeto Pagination con:

  • Returned
  • Limit
  • Offset
  • Total
  • HasMore

Forma de datos (--output json)​

{
  "Code": "NodeListSuccess",
  "Data": {
    "Nodes": [
      { "id": "start",          "type": "core.trigger.manual" },
      { "id": "node_a1b2c3d4",  "type": "core.action.http.v2" }
    ],
    "Count": 2
  }
}
{
  "Code": "NodeListSuccess",
  "Data": {
    "Nodes": [
      { "id": "start",          "type": "core.trigger.manual" },
      { "id": "node_a1b2c3d4",  "type": "core.action.http.v2" }
    ],
    "Count": 2
  }
}

Cada entrada incluye como mínimo id y type; el servicio también adjunta metadatos de visualización de la matriz .flow definitions[] .


Eliminar nodos de flujo maestro de uip​

Eliminar un nodo y todo lo que posee. nodes list para encontrar el ID de nodo. Elimina:

  • Bordes conectados
  • Vinculaciones huérfanas
  • Definiciones huérfanas
  • Variables de nodo propiedad del nodo eliminado
  • Actualizaciones de variables propiedad del nodo eliminado

Deleting a core.subflow node also deletes its subflow, the nodes and subflows nested inside it, and the bindings that only those nodes use.

Argumentos​

  • <file> (obligatorio) : ruta al archivo .flow .
  • <node-id> obligatorio) : ID del nodo a eliminar.

Forma de datos (--output json)​

{
  "Code": "NodeDeleteSuccess",
  "Data": {
    "DeletedNode":           { "id": "node_a1b2c3d4", "type": "core.action.http.v2" },
    "EdgesRemoved":          1,
    "BindingsRemoved":       0,
    "DefinitionsRemoved":    0,
    "VariablesRemoved":      0,
    "VariableUpdatesRemoved": 0
  }
}
{
  "Code": "NodeDeleteSuccess",
  "Data": {
    "DeletedNode":           { "id": "node_a1b2c3d4", "type": "core.action.http.v2" },
    "EdgesRemoved":          1,
    "BindingsRemoved":       0,
    "DefinitionsRemoved":    0,
    "VariablesRemoved":      0,
    "VariableUpdatesRemoved": 0
  }
}

uip maestro flow nodes provision​

Give an Extract document node (uipath.ixp.extract-document-builder) the processor it extracts through. nodes create and nodes schema set provision the node they write, so this command is for a node that has no processor, for example a node written by hand. uip maestro flow validate names this command when it finds such a node.

The command writes inputs.processorKey to the .flow file. When the project is inside a solution, it also writes the processor resource file. Commit both.

Argumentos​

  • <file> (obligatorio) : ruta al archivo .flow .

Opciones​

OpciónDescripción
--node-id <node-id>Provision only this node. Without it, the command provisions every Extract document node in the file that has no processor, including the nodes inside subflows.

Nodes that read the processor of another node (inputs.processorReadOnly) and nodes that run a processor published to the tenant are left unchanged.

Ejemplo​

uip maestro flow nodes provision invoice-flow.flow --node-id extractDocument1
uip maestro flow nodes provision invoice-flow.flow --node-id extractDocument1

Forma de datos (--output json)​

{
  "Code": "NodeProvisionSuccess",
  "Data": {
    "Provisioned": [
      {
        "NodeId": "extractDocument1",
        "ProcessorKey": "11111111-2222-3333-4444-555555555555",
        "ProcessorName": "Extract invoices",
        "ResourceFile": "resources/solution_folder/idpProcessor/extraction/Extract_invoices.json"
      }
    ]
  }
}
{
  "Code": "NodeProvisionSuccess",
  "Data": {
    "Provisioned": [
      {
        "NodeId": "extractDocument1",
        "ProcessorKey": "11111111-2222-3333-4444-555555555555",
        "ProcessorName": "Extract invoices",
        "ResourceFile": "resources/solution_folder/idpProcessor/extraction/Extract_invoices.json"
      }
    ]
  }
}

An entry carries ResourcePending instead of ResourceFile when no resource file was created, with the reason. Data.AlreadyProvisioned lists the IDs of the nodes that already named a processor.

The command fails with ErrorCode: not_found when --node-id matches no Extract document node, or when the flow has no Extract document node.


uip maestro flow nodes schema get​

Read the extraction schema of an Extract document node. The command prints the document as stored, so you can edit it and write it back with nodes schema set. No login is required.

Argumentos​

  • <file> (obligatorio) : ruta al archivo .flow .

Opciones​

  • --node-id <node-id> (required) — ID of the Extract document node to read.

Forma de datos (--output json)​

{
  "Code": "NodeSchemaGetSuccess",
  "Data": {
    "NodeId": "extractDocument1",
    "Schema": {
      "prompt": "Extract the invoice header and every line item.",
      "outputSchema": { "type": "object", "properties": {}, "$defs": {} }
    },
    "HasDraft": false
  }
}
{
  "Code": "NodeSchemaGetSuccess",
  "Data": {
    "NodeId": "extractDocument1",
    "Schema": {
      "prompt": "Extract the invoice header and every line item.",
      "outputSchema": { "type": "object", "properties": {}, "$defs": {} }
    },
    "HasDraft": false
  }
}
CampoDescripción
SchemaThe stored document, with its own key casing.
HasDrafttrue when the node carries an unsaved Schema Editor draft from Studio Web. DraftIssueMessages then lists the issues of the draft.
ProcessorKeyThe processor the node names, when it names one.

A --node-id that matches no node, or a node with no inputs.schemaDocument, fails with ErrorCode: not_found. A node that is not an Extract document node fails with ErrorCode: invalid_argument.


uip maestro flow nodes schema set​

Replace the extraction schema of an Extract document node. The document is the whole schema, not a patch. No login is required.

Argumentos​

  • <file> (obligatorio) : ruta al archivo .flow .

Opciones​

OpciónDescripción
--node-id <node-id>(required) ID of the Extract document node to write.
--schema <json>(required) The schema document as a JSON string, or @file.json to read it from a file.
--discard-draftReplace the schema even when the node carries an unsaved Schema Editor draft. The draft is deleted.

Schema document​

The document is a JSON object with two members:

  • prompt — the overall extraction instructions, a string.
  • outputSchema — a JSON Schema object. Each entry of outputSchema.properties is a field group. An array of objects is a group that repeats, and a plain object is a group that occurs once.

These rules apply:

  • A group named Invoice > Line Items is nested under the group named Invoice.
  • Names are at most 64 characters. For a nested group, the limit applies to the whole Parent > Child path.
  • Instructions are at most 4096 characters.
  • A config member is ignored. The model settings belong to the node, at inputs.modelConfig.

Annotations and evaluator settings are stored against the x-uipath-field-group-id and x-uipath-field-id of each entry. Read the schema with nodes schema get and keep these IDs on the entries you edit, including the entries you rename. An entry without an ID takes the ID of the entry of the same name that it replaces. Otherwise it gets a new ID.

Ejemplo​

uip maestro flow nodes schema set invoice-flow.flow --node-id extractDocument1 --schema @taxonomy.json
uip maestro flow nodes schema set invoice-flow.flow --node-id extractDocument1 --schema @taxonomy.json

Forma de datos (--output json)​

{
  "Code": "NodeSchemaSetSuccess",
  "Data": {
    "NodeId": "extractDocument1",
    "Groups": 2,
    "Fields": 7,
    "FieldTypes": 6,
    "GroupIdsPreserved": 2,
    "GroupIdsMinted": 0,
    "FieldIdsPreserved": 6,
    "FieldIdsMinted": 1,
    "DraftDiscarded": false
  }
}
{
  "Code": "NodeSchemaSetSuccess",
  "Data": {
    "NodeId": "extractDocument1",
    "Groups": 2,
    "Fields": 7,
    "FieldTypes": 6,
    "GroupIdsPreserved": 2,
    "GroupIdsMinted": 0,
    "FieldIdsPreserved": 6,
    "FieldIdsMinted": 1,
    "DraftDiscarded": false
  }
}
CampoDescripción
Groups, Fields, FieldTypesNumber of field groups, fields, and field types written.
GroupIdsPreserved, FieldIdsPreservedEntries that kept their ID.
GroupIdsMinted, FieldIdsMintedEntries that got a new ID.
DraftDiscardedtrue when --discard-draft deleted a Schema Editor draft.
ProcessorKeyThe processor the node names. A node with no processor gets one, as with nodes provision.
ResourceFile, ResourcePendingThe processor resource file created for a node that had no processor, or why none was created.
ProcessorSyncSays if uip solution pack rebuilds the processor from this node. For a node that reads the processor of another node, or runs a processor published to the tenant, the schema written here does not reach the deployed extraction.

Fallos​

CasoResultadoErrorCodeCódigo de salida
The document has no prompt string or no outputSchema object (Message: "Invalid schema document")ValidationErrorinvalid_argument3
The document breaks a schema rule or a limit (Message: "Schema document failed validation"). Data.Issues lists each problem as { Path, Message }.ValidationErrorinvalid_argument3
The document has the { taxonomy, fieldTypes } shape (Message: "Legacy schema document shape")ValidationErrorinvalid_argument3
The inline --schema value is not valid JSONFailureinvalid_argument1
The @file path does not existFailurenot_found1
The node carries an unsaved Schema Editor draft and --discard-draft is not passedFailureinvalid_argument1

creación de bordes de flujo maestro de uip​

Create an edge between two nodes. Both nodes must be in the same graph: the root of the flow, or the same subflow. An edge between two nodes of a subflow is written to that subflow.

Argumentos​

  • <file> (obligatorio) : ruta al archivo .flow .
  • <source-id> obligatorio) : ID del nodo de origen.
  • <target-id> obligatorio) : ID del nodo de destino.

Opciones​

  • --source-port <port> — nombre del puerto de origen. Se establece de forma predeterminada en el puerto que la definición del nodo marca como predeterminado; de lo contrario, output, de lo contrario, el único puerto de flujo del nodo. Un nodo con varios puertos de flujo y ningún valor predeterminado, como una decisión, necesita --source-port (por ejemplo, --source-port true).
  • --target-port <port> — nombre del puerto de destino. Se establece de forma predeterminada en el puerto que la definición del nodo marca como predeterminado; de lo contrario, input, de lo contrario, el único puerto de flujo del nodo.

Ejecutar el comando de nuevo con los mismos argumentos devuelve el borde existente con Code: "EdgeAlreadyExists" y escribe una advertencia en stderr.

Forma de datos (--output json)​

{
  "Code": "EdgeAddSuccess",
  "Data": {
    "Edge": {
      "id":         "edge_a1b2c3d4",
      "source":     "Node_1",
      "target":     "Node_2",
      "sourcePort": "output",
      "targetPort": "input"
    }
  }
}
{
  "Code": "EdgeAddSuccess",
  "Data": {
    "Edge": {
      "id":         "edge_a1b2c3d4",
      "source":     "Node_1",
      "target":     "Node_2",
      "sourcePort": "output",
      "targetPort": "input"
    }
  }
}

Lista de bordes de flujo de UIP Maestro​

Enumera todos los bordes en un archivo .flow .

uip maestro flow edges list <file> [--limit <n>] [--offset <n>]
uip maestro flow edges list <file> [--limit <n>] [--offset <n>]

Opciones​

OpciónDescripción
-l, --limit <number>Número de filas a devolver, 1–10000.
--offset <number>Número de filas a omitir, 0–1000000. Predeterminado 0.

Sin --limit o --offset, se devuelve cada fila. Con cualquiera de los dos, Count es el número de filas devueltas, y la respuesta lleva un objeto Pagination con:

  • Returned
  • Limit
  • Offset
  • Total
  • HasMore
{
  "Code": "EdgeListSuccess",
  "Data": {
    "Edges": [
      { "id": "edge_a1b2c3d4", "source": "Node_1", "target": "Node_2" }
    ],
    "Count": 1
  }
}
{
  "Code": "EdgeListSuccess",
  "Data": {
    "Edges": [
      { "id": "edge_a1b2c3d4", "source": "Node_1", "target": "Node_2" }
    ],
    "Count": 1
  }
}

Borrar bordes de flujo maestro de uip​

Elimina un solo borde por ID. edges list para encontrar el ID.

Argumentos​

  • <file> (obligatorio) : ruta al archivo .flow .
  • <edge-id> obligatorio) : ID del borde a eliminar.

Forma de datos (--output json)​

{
  "Code": "EdgeDeleteSuccess",
  "Data": {
    "DeletedEdge": { "id": "edge_a1b2c3d4", "source": "Node_1", "target": "Node_2" }
  }
}
{
  "Code": "EdgeDeleteSuccess",
  "Data": {
    "DeletedEdge": { "id": "edge_a1b2c3d4", "source": "Node_1", "target": "Node_2" }
  }
}

Variables​

El grupo variables edita el subárbol variables de un archivo .flow .

variables de flujo maestro de uip​

uip maestro flow variables create <file> <variable-id> -d, --direction <direction> [-t, --type <type>] [--default-value <val>] [--description <text>] [--schema <json>] [--sub-type <type>] [--trigger-node-id <nodeId>]
uip maestro flow variables list   <file> [--limit <n>] [--offset <n>]
uip maestro flow variables delete <file> <variable-id>
uip maestro flow variables create <file> <variable-id> -d, --direction <direction> [-t, --type <type>] [--default-value <val>] [--description <text>] [--schema <json>] [--sub-type <type>] [--trigger-node-id <nodeId>]
uip maestro flow variables list   <file> [--limit <n>] [--offset <n>]
uip maestro flow variables delete <file> <variable-id>
  • direction ∈ in, out, inout (obligatorio).
  • type ∈ string, number, boolean, object, array, file (predeterminado string).
  • --default-value se analiza por --type : los valores object/array deben ser JSON válidos de la forma coincidente.
  • --schema debe ser un objeto JSON (por ejemplo '{"type":"string"}').
  • --trigger-node-id <nodeId> : el nodo desencadenador al que pertenece una variable de entrada . El valor predeterminado es el único nodo desencadenador del flujo; requerido cuando el flujo tiene más de un punto de entrada.
  • create fails when an in or inout variable ID is also the ID of a node in the root of the flow. An out variable can share its ID with a node.

list toma --limit y --offset, al igual que nodes list .

Formas de datos: VariableAddSuccess (Data.Variable) para create, VariableListSuccess (Data.Variables[], Count), VariableRemoveSuccess (Data.DeletedVariable) para delete.


Bindings​

Las vinculaciones declaran los recursos externos que necesita un flujo en el momento de la publicación/implementación (un proceso de destino, un agente, una conexión, una cola, etc.) y a qué propiedad de nodo se conectan.

uip maestro flow bindings create <file> <name> <resource> <default-value> [--resource-key <key>] [--property-attribute <attr>] [--resource-sub-type <type>]
uip maestro flow bindings list   <file> [--limit <n>] [--offset <n>]
uip maestro flow bindings delete <file> <resource-key>
uip maestro flow bindings create <file> <name> <resource> <default-value> [--resource-key <key>] [--property-attribute <attr>] [--resource-sub-type <type>]
uip maestro flow bindings list   <file> [--limit <n>] [--offset <n>]
uip maestro flow bindings delete <file> <resource-key>
  • <resource> es un tipo de recurso, como connection, queue, process o bucket. Ejecuta uip maestro flow bindings create --help para obtener la lista completa.
  • --property-attribute es la propiedad del nodo de destino que rellena la vinculación (p. ej. name, folderPath, connection).
  • --resource-sub-type proporciona subclasificación (p. ej. Agent, Process).
  • bindings delete todas las vinculaciones con la clave de recurso dada, no una sola entrada por ID. list toma --limit y --offset, al igual que nodes list .

Formas de datos: BindingAddSuccess (Data.Binding) para create, BindingListSuccess (Data.Bindings[], Count), BindingRemoveSuccess (Data.DeletedBindings[], Count) para delete.


formato de flujo maestro de uip​

Diseño automático: reposiciona los nodos en un archivo .flow para eliminar las superposiciones y organizar el gráfico de forma limpia.

uip maestro flow format [file]
uip maestro flow format [file]

[file] is the path to a .flow file or to a project directory. Default: the current directory. For a directory, the command formats the same .flow file that uip maestro flow validate resolves.

Forma de datos: Code: "FlowFormat", Data: { File, NodesTotal, EdgesTotal, NodesRepositioned, NodesResized, SubflowsTidied, VariableCount }.

The command fails with exit code 1 and Message: "Failed to tidy flow" when the directory has no .flow file. It fails the same way, with ErrorCode: invalid_argument, when the directory has several .flow files and none is the main file of the project. Instructions lists the files.

Ver también​

¿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