- Información general
- Comience ya
- Conceptos
- Uso de UiPath CLI
- Guías prácticas
- Recetas de CI/CD
- Referencia de los comandos
- Información general
- Códigos de salida
- Opciones globales
- agente de código UIP
- codificador UIP
- Contextualización de UIP
- UIP Docsai
- Función uip
- barreras de seguridad de UIP
- Configuración de UIP llm
- puerta de enlace llm de uip
- Creación de UIP Maestro
- Registro maestro de UIP
- UIP model-hub
- uip ont
- Actividades Buscar
- actividades get-default-xaml
- Analizar
- lista de reglas del analizador
- Crear
- Limpieza
- instalación de data-fabric-entities
- lista de entidades de data-fabric
- diferencia de archivos
- obtener-repositorio-de-objetos-de-biblioteca
- obtener-objeto-repositorio
- Init
- lista de instancias
- Paquete
- inspeccionar paquetes
- instalación de paquetes
- versiones de paquetes
- Publicar
- Remoto
- restore
- ejecutar, depurar & Ejecución
- Configuración
- Inicio de Studio
- Búsqueda de plantillas
- entidad de adición de datos de prueba
- añadir-cola de datos de prueba
- añadir-variación de los datos de prueba
- TM
- UIA
- Validar
- ejemplos-de-flujo-de-flujo-obtener
- lista de ejemplos de flujo de trabajo
- uip resources
- Tareas de UIP
- Archivo adjunto
- Campo personalizado
- Defects
- Ejecuciones
- exportar-trabajos
- Migración
- EtiquetaDeObjeto
- Paquete
- escenario de rendimiento
- grupos de carga de escenarios de rendimiento
- datos de ejecución de perf-scenario
- informe de escenario de rendimiento
- Proyecto
- permisos del proyecto
- Solicitudes
- Informar
- Requisitos
- Resultado
- Iniciar
- Programaciones
- Ámbitos
- Registro de casos de prueba
- Casos de prueba
- Conjuntos de prueba
- registro de pasos de prueba
- Usuario
- Esperar
- Seguimientos de UIP
- Comentarios de seguimientos de UIP
- Migración
- Referencia y soporte
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ón | Descripció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:
--idis already in use, or is the ID of aninorinoutvariable of the same graph.--idis not a valid identifier, for example an ID with a space or a leading digit.--parentnames 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:
| Campo | Descripción |
|---|---|
ProcessorKey | The key written to the node as inputs.processorKey. A key passed in --input is kept. |
ProcessorName | The name of the processor. |
ResourceFile | The processor resource file created under resources/solution_folder/idpProcessor/extraction/ in the solution. |
ResourcePending | Why 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 connodes 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
activityTypeGeneric, such as*.insert-recordor*.list-records):method,endpoint, andobjectName. For other activities,methodandendpointdefault to the values of the activity, and a value passed in--detailoverrides the default. Discover objects withuip is resources listanduip 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 ejemplopollingowebhooks) - Obligatorio para desencadenadores y eventos genéricos (manifiesto
activityTypeGenericTrigger, 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ónuipath-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ón | Descripció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:
ReturnedLimitOffsetTotalHasMore
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ón | Descripció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
}
}
| Campo | Descripción |
|---|---|
Schema | The stored document, with its own key casing. |
HasDraft | true when the node carries an unsaved Schema Editor draft from Studio Web. DraftIssueMessages then lists the issues of the draft. |
ProcessorKey | The 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ón | Descripció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-draft | Replace 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 ofoutputSchema.propertiesis 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 Itemsis nested under the group namedInvoice. - Names are at most 64 characters. For a nested group, the limit applies to the whole
Parent > Childpath. - Instructions are at most 4096 characters.
- A
configmember is ignored. The model settings belong to the node, atinputs.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
}
}
| Campo | Descripción |
|---|---|
Groups, Fields, FieldTypes | Number of field groups, fields, and field types written. |
GroupIdsPreserved, FieldIdsPreserved | Entries that kept their ID. |
GroupIdsMinted, FieldIdsMinted | Entries that got a new ID. |
DraftDiscarded | true when --discard-draft deleted a Schema Editor draft. |
ProcessorKey | The processor the node names. A node with no processor gets one, as with nodes provision. |
ResourceFile, ResourcePending | The processor resource file created for a node that had no processor, or why none was created. |
ProcessorSync | Says 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
| Caso | Resultado | ErrorCode | Código de salida |
|---|---|---|---|
The document has no prompt string or no outputSchema object (Message: "Invalid schema document") | ValidationError | invalid_argument | 3 |
The document breaks a schema rule or a limit (Message: "Schema document failed validation"). Data.Issues lists each problem as { Path, Message }. | ValidationError | invalid_argument | 3 |
The document has the { taxonomy, fieldTypes } shape (Message: "Legacy schema document shape") | ValidationError | invalid_argument | 3 |
The inline --schema value is not valid JSON | Failure | invalid_argument | 1 |
The @file path does not exist | Failure | not_found | 1 |
The node carries an unsaved Schema Editor draft and --discard-draft is not passed | Failure | invalid_argument | 1 |
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ón | Descripció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:
ReturnedLimitOffsetTotalHasMore
{
"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(predeterminadostring).--default-valuese analiza por--type: los valoresobject/arraydeben ser JSON válidos de la forma coincidente.--schemadebe 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.createfails when aninorinoutvariable ID is also the ID of a node in the root of the flow. Anoutvariable 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, comoconnection,queue,processobucket. Ejecutauip maestro flow bindings create --helppara obtener la lista completa.--property-attributees la propiedad del nodo de destino que rellena la vinculación (p. ej.name,folderPath,connection).--resource-sub-typeproporciona subclasificación (p. ej.Agent,Process).bindings deletetodas las vinculaciones con la clave de recurso dada, no una sola entrada por ID.listtoma--limity--offset, al igual quenodes 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
uip maestro flow registry: descubrir tipos de nodosuip maestro flow validate— validar el.floweditadouip maestro flow init- Descripción general del flujo
- Sinopsis
- Creación de nodos de flujo maestro de uip
- Argumentos
- Opciones
- Ejemplo
- Forma de datos (
--output json) - Extract document nodes
- Configuración de nodos de flujo maestro de UIP
- Argumentos
- Opciones
- Nodos de conector (uipath.connector.*)
- Desencadenadores del conector y eventos de espera (uipath.connector.trigger., uipath.connector.event.)
- Nodos de archivo (core.action.file.read, core.action.file.create)
- Nodos HTTP gestionados (core.action.http.v2)
- Forma de datos (
--output json) - Lista de nodos de flujo de uip maestro
- Argumentos
- Opciones
- Forma de datos (
--output json) - Eliminar nodos de flujo maestro de uip
- Argumentos
- Forma de datos (
--output json) - uip maestro flow nodes provision
- Argumentos
- Opciones
- Ejemplo
- Forma de datos (
--output json) - uip maestro flow nodes schema get
- Argumentos
- Opciones
- Forma de datos (
--output json) - uip maestro flow nodes schema set
- Argumentos
- Opciones
- Schema document
- Ejemplo
- Forma de datos (
--output json) - Fallos
- creación de bordes de flujo maestro de uip
- Argumentos
- Opciones
- Forma de datos (
--output json) - Lista de bordes de flujo de UIP Maestro
- Opciones
- Borrar bordes de flujo maestro de uip
- Argumentos
- Forma de datos (
--output json) - Variables
- variables de flujo maestro de uip
- Bindings
- formato de flujo maestro de uip
- Ver también