- Vue d'ensemble (Overview)
- Démarrer
- Concepts
- Utilisation de la UiPath CLI
- Guides pratiques
- Revenus CI/CD
- Référence de commande
- Vue d'ensemble (Overview)
- Codes de sortie
- Options globales
- agent codé uip
- encodeur UIP
- uip ancrage dans le contexte
- UiPath Docsai
- Fonction UiP
- garde-fous UiP
- configuration llm uip
- uip llm-passerelle
- Création uip maestro
- Registre Maestro uip
- uip model-hub
- uip ont
- Tâches (Jobs)
- Dossiers
- Processus
- ROI du processus
- Paquets
- Machines
- Utilisateurs
- Rôles
- Licences
- Flux
- Pièces jointes (Attachments)
- Sessions
- Calendriers
- magasins d'informations d’identification
- journaux-audit
- paramètres
- Actifs
- Compartiments
- Compartiment-fichiers
- Bibliothèques
- Files d'attente (Queues)
- ROI de la file d'attente
- éléments de la file d'attente
- Déclencheurs (Triggers)
- Webhooks
- Activités - Rechercher
- activités get-Default-xaml
- Analyser
- liste règles-analyseurs
- Construire
- Nettoyage
- Installation de entités data-fabrics
- liste des entités data-fabrics
- Diff de fichiers
- Get-Library-Object-Repository
- Récupérer le référentiel d'objets
- Init
- liste des instances
- Créer un package
- Vérification des paquets
- Installation des paquets
- Versions de paquets
- Publier
- Distant
- restore
- exécuter, déboguer et amp; Exécution
- paramètres
- Début de Studio
- Recherche de modèles
- entité ajoutée aux données de test
- Ajouter une file d'attente de données de test
- variation d'ajout de données de test
- TM
- UIA
- Valider
- exemples de workflow - Obtenir
- liste d'exemples de workflow
- uip resources
- tâches UIP
- pièce jointe
- Champ personnalisé
- Défauts (Defects)
- Exécutions
- exporter-tâches
- Migration
- Libellé Objet
- Créer un package
- scénarios-perf
- groupes-de-charge-scénarios-perf
- données d’exécution de perf-scenario
- rapport de scénarios de performances
- Projet
- autorisations-projet
- Invites
- Rapport
- Prérequis
- Résultat
- Exécuter
- Planifications (Schedules)
- Étendues
- Journaux de cas de test
- Cas de test
- Ensembles de tests
- Journal des étapes de test
- Utilisateur (User)
- Attendre
- Traçages UIP
- Commentaires sur les traces UIP
- Migration
- Référence et assistance
Nœuds de flux uip Maestro et bords de flux uip Maestro
Syntaxe et options pour `uip maestro flow nodes` et uip maestro flow edges`, qui créent, configurent, répertorient et suppriment les nœuds et les bords dans un fichier `.flow`.
Un flux est un graphique. Les nœuds sont les verticaux (déclencheurs, activités, connecteurs, agents); Les bords sont les connexions directes entre eux. Les commandes uip maestro flow nodes et uip maestro flow edges modifient un fichier .flow en place — en ajoutant, en configurant, en répertoriant et en supprimant les deux.
Cette page couvre également deux groupes de commandes complémentaires qui modifient le fichier .flow de la même manière: variables et bindings.
Synthèse
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]
Les options globales sont respectées. Les codes de sortie suivent le contrat standard.
Les noms de groupe singulaires node, edge, variable et binding sont des alias de nodes, edges, variables et bindings. add est un alias de create dans les quatre groupes, et remove est un alias de delete dans variables et bindings.
Création de nœuds de flux uip maestro
Créez un nœud dans un fichier .flow . Le type de nœud doit exister dans le registre. Utilisez uip maestro flow registry search pour découvrir des valeurs <node-type> valides.
Arguments
<file>(obligatoire) : chemin d'accès au fichier.flow.<node-type>(obligatoire) : identificateur de type de nœud (par ex.core.trigger.manual,uipath.connector.slack.send-message).
Options
| Option | Description |
|---|---|
-i, --input <json> | Objet JSON des valeurs d'entrée à définir sur le nœud (par ex. '{"script":"…"}'). Doit être un objet JSON, et non un tableau ou un scalaire. Pour les nœuds de connecteur (type uipath.connector.*), ne transmettez pas --input ici — exécutez nodes configure ensuite. |
--position <x,y> | Position de la zone de dessin, par exemple 250,150. X et y sont tous deux des nombres requis. |
--label <label> | Affichez le libellé pour le nœud. |
--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> | Activités hors catalogue uniquement. Le fichier de métadonnées d’activité (<Name>.json) généré par uip is activities metadata generate. La définition du nœud est générée à partir de ce fichier au lieu du registre, et <node-type> doit être uipath.connector.custom.<connector-key>.<slug>. Nécessite --scripts. |
--scripts <dir> | Activités hors catalogue uniquement. Répertoire qui contient <scriptRef>.js pour l'action et pour chaque recherche des références de métadonnées. Les sources de script sont intégrées dans le nœud. Nécessite --metadata. |
Exemple
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"
Format des données (--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 est true lors de la première insertion d'un node-type donné — l'entrée correspondante dans le tableau .flow definitions[] est créée.
La transmission d'un seul élément --metadata et --scripts échoue la commande.
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:
| Champ | Description |
|---|---|
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.
Configuration des nœuds de flux uip maestro
Renseignez inputs.detail sur un nœud déjà ajouté et créez les liaisons de workflow dont il a besoin. Exécutez-le après nodes create pour le connecteur, le HTTP géré et les nœuds de fichier (core.action.file.read, core.action.file.create). La connexion Orchestrator d'un nœud de fichier est limitée uniquement par nodes configure; une valeur connectionId transmise dans nodes create --input n'est pas liée.
Arguments
<file>(obligatoire) : chemin d'accès au fichier.flow.<node-id>(requis) — ID du nœud à configurer (recherchez-le avecnodes list).
Options
--detail <json>(obligatoire) — configuration JSON. La forme dépend du type de nœud:
Nœuds du connecteur
Obtenez method et endpoint de connectorMethodInfo dans la sortie 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. - Facultatif:
bodyParameters,queryParameters,pathParameters,filter,customFieldsRequestDetails
Une valeur qui lit la sortie d'un autre nœud doit utiliser le préfixe $vars. à l'intérieur de l'expression =js: , par exemple "=js:$vars.createEntityRecord1.output.Id". Le formulaire à barres ("=js:createEntityRecord1.output.Id") se résout vers undefined au moment du runtime.
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" }
}'
Déclencheurs du connecteur et événements d’attente
Un déclencheur de connecteur démarre le flux; un nœud d'attente d'événement suspend le flux jusqu'à ce que l'événement se déclenche. Les deux prennent la même forme détaillée.
- Requis:
connectionId,folderKey,eventMode(par exemplepollingouwebhooks) - Requis pour les déclencheurs et événements génériques (Manifest
activityTypeGenericTrigger, tels qu'une activité Data Fabric*.record-created):objectName, l'objet auquel s'abonner - Facultatif:
eventParameters,queryParameters,pathParameters,filter(une arborescence de filtres structurée, pas une expression brute)
Découvrez eventMode avec 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"}'
Nœuds de fichier core.action.file.Create)
Liez la connexion Orchestrator utilisée par le nœud pour accéder aux pièces jointes de la tâche.
- Requis:
connectionId(un UUID de connexionuipath-uipath-orchestrator) - Facultatif:
folderKey(par défaut dans le dossier de la connexion)
uip maestro flow nodes configure invoice-flow.flow node_file1 --detail '{"connectionId":"…"}'
uip maestro flow nodes configure invoice-flow.flow node_file1 --detail '{"connectionId":"…"}'
Nœuds HTTP gérés
Deux modes d'authentification:
Mode connecteur (authentication: "connector") — utilise une connexion Integration Service pour l'authentification:
- Requis:
authentication,method,connectionId,folderKey,targetConnector methodⅵGET,POST,PUT,PATCH,DELETE,OPTIONS,HEAD- Facultatif:
url(chemin ajouté à l'URL de base du connecteur),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"
}'
Mode manuel (authentication: "manual") — sans authentification du connecteur, fournissez vous-même l'URL complète et les en-têtes d'authentification:
- Requis:
authentication,method,url(URL complète) - Facultatif:
headers,query,body(chaîne; peut être une expression, par ex.=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>" }
}'
Format des données (--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.
liste des nœuds de flux uip maestro
List all nodes in a .flow file, including the nodes inside subflows.
Arguments
<file>(obligatoire) : chemin d'accès au fichier.flow.
Options
| Option | Description |
|---|---|
-l, --limit <number> | Nombre de lignes à renvoyer, 1–10 000. |
--offset <number> | Nombre de lignes à ignorer, compris entre 0 et 1000 000. 0 par défaut. |
Sans --limit ou --offset, chaque ligne revient. Avec l'une ou l'autre, Count est le nombre de lignes renvoyées, et la réponse comporte un objet Pagination avec:
ReturnedLimitOffsetTotalHasMore
Format des données (--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
}
}
Chaque entrée inclut au minimum id et type; le service joint également les métadonnées d'affichage du tableau .flow definitions[] .
Suppression des nœuds de flux uip Maestro
Supprimez un nœud et tout ce qu'il contient. Utilisez nodes list pour trouver l'ID du nœud. Supprime:
- Bords connectés
- Liaisons orphelines
- Définitions orphelines
- Variables de nœud appartenant au nœud supprimé
- Mises à jour des variables appartenant au nœud supprimé
Deleting a core.subflow node also deletes its subflow, the nodes and subflows nested inside it, and the bindings that only those nodes use.
Arguments
<file>(obligatoire) : chemin d'accès au fichier.flow.<node-id>(requis) — L'ID du nœud à supprimer.
Format des données (--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.
Arguments
<file>(obligatoire) : chemin d'accès au fichier.flow.
Options
| Option | Description |
|---|---|
--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.
Exemple
uip maestro flow nodes provision invoice-flow.flow --node-id extractDocument1
uip maestro flow nodes provision invoice-flow.flow --node-id extractDocument1
Format des données (--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.
Arguments
<file>(obligatoire) : chemin d'accès au fichier.flow.
Options
--node-id <node-id>(required) — ID of the Extract document node to read.
Format des données (--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
}
}
| Champ | Description |
|---|---|
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.
Arguments
<file>(obligatoire) : chemin d'accès au fichier.flow.
Options
| Option | Description |
|---|---|
--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.
Exemple
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
Format des données (--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
}
}
| Champ | Description |
|---|---|
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. |
Échecs
| Cas | Résultat | ErrorCode | Code de sortie |
|---|---|---|---|
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 |
Création de bords de flux uip Maestro
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.
Arguments
<file>(obligatoire) : chemin d'accès au fichier.flow.<source-id>(requis) : ID du nœud source.<target-id>(requis) : ID du nœud cible.
Options
--source-port <port>— nom du port source. La valeur par défaut est le port défini par le port sur lequel le nœud est défini par défaut, sinonoutput, sinon le port de flux du nœud uniquement. Un nœud avec plusieurs ports de flux et sans valeur par défaut, comme une décision, a besoin de--source-port(par exemple--source-port true).--target-port <port>— nom du port cible. La valeur par défaut est le port défini par le port sur lequel le nœud est défini par défaut, sinoninput, sinon le port de flux du nœud uniquement.
L’exécution à nouveau de la commande avec les mêmes arguments renvoie le bord existant avec Code: "EdgeAlreadyExists" et écrit un avertissement à stderr.
Format des données (--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"
}
}
}
liste des bords du flux uip maestro
Répertorie tous les bords dans un fichier .flow .
uip maestro flow edges list <file> [--limit <n>] [--offset <n>]
uip maestro flow edges list <file> [--limit <n>] [--offset <n>]
Options
| Option | Description |
|---|---|
-l, --limit <number> | Nombre de lignes à renvoyer, 1–10 000. |
--offset <number> | Nombre de lignes à ignorer, compris entre 0 et 1000 000. 0 par défaut. |
Sans --limit ou --offset, chaque ligne revient. Avec l'une ou l'autre, Count est le nombre de lignes renvoyées, et la réponse comporte un objet Pagination avec:
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
}
}
Suppression des bords des flux uip Maestro
Supprime un seul bord par ID. Utilisez edges list pour trouver l'ID.
Arguments
<file>(obligatoire) : chemin d'accès au fichier.flow.<edge-id>(requis) — ID du bord à supprimer.
Format des données (--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
Le groupe variables modifie le sous-arbre variables d'un fichier .flow .
Variables de flux Maestro 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(requis).typeⅵstring,number,boolean,object,array,file(par défautstring).--default-valueest analysé par--type—object/arrayLes valeurs doivent être valides JSON de la forme correspondante.--schemadoit être un objet JSON (par ex.'{"type":"string"}').--trigger-node-id <nodeId>— le nœud de déclencheur auquel appartient une variable d'entrée . La valeur par défaut est le seul nœud de déclencheur du flux; requis lorsque le flux comporte plusieurs points d'entrée.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 prend --limit et --offset, comme le fait nodes list .
Formats de données: VariableAddSuccess (Data.Variable) pour create, VariableListSuccess (Data.Variables[], Count), VariableRemoveSuccess (Data.DeletedVariable) pour delete
Bindings
Les liaisons déclarent les ressources externes dont un flux a besoin au moment de la publication/du déploiement (un processus cible, un agent, une connexion, une file d'attente, etc.) et la propriété du nœud dans lequel il se connecte.
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>est un type de ressource, tel queconnection,queue,processoubucket. Exécutezuip maestro flow bindings create --helppour obtenir la liste complète.--property-attributeest la propriété du nœud cible renseignée par la liaison (par ex.name,folderPath,connection).--resource-sub-typefournit la sous-classification (par ex.Agent,Process).bindings deletesupprime toutes les liaisons avec la clé de ressource donnée, et pas une seule entrée par ID.listprend--limitet--offset, comme le faitnodes list.
Formats de données: BindingAddSuccess (Data.Binding) pour create, BindingListSuccess (Data.Bindings[], Count), BindingRemoveSuccess (Data.DeletedBindings[], Count) pour delete
Format de flux uip maestro
Disposition automatique: repositionnez les nœuds dans un fichier .flow pour supprimer les chevauchements et organiser le graphique proprement.
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.
Format des données: 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.
Voir également
uip maestro flow registry— découvrir les types de nœudsuip maestro flow validate— valide le.flowmodifiéuip maestro flow init- Vue d’ensemble du flux
- Synthèse
- Création de nœuds de flux uip maestro
- Arguments
- Options
- Exemple
- Format des données (
--output json) - Extract document nodes
- Configuration des nœuds de flux uip maestro
- Arguments
- Options
- Nœuds du connecteur
- Déclencheurs du connecteur et événements d’attente
- Nœuds de fichier core.action.file.Create)
- Nœuds HTTP gérés
- Format des données (
--output json) - liste des nœuds de flux uip maestro
- Arguments
- Options
- Format des données (
--output json) - Suppression des nœuds de flux uip Maestro
- Arguments
- Format des données (
--output json) - uip maestro flow nodes provision
- Arguments
- Options
- Exemple
- Format des données (
--output json) - uip maestro flow nodes schema get
- Arguments
- Options
- Format des données (
--output json) - uip maestro flow nodes schema set
- Arguments
- Options
- Schema document
- Exemple
- Format des données (
--output json) - Échecs
- Création de bords de flux uip Maestro
- Arguments
- Options
- Format des données (
--output json) - liste des bords du flux uip maestro
- Options
- Suppression des bords des flux uip Maestro
- Arguments
- Format des données (
--output json) - Variables
- Variables de flux Maestro uip
- Bindings
- Format de flux uip maestro
- Voir également