UiPath Documentation
uipath-cli
2026.10
false
UiPath-CLI-Benutzerhandbuch

UIP Maestro Flow-Knoten und UIP Maestro Flow-Kanten

Syntax und Optionen für „uip Maestro Flow Nodes“ und „Uip Maestro Flow Edges“, die Knoten und Edges in einer „.flow“-Datei erstellen, konfigurieren, auflisten und löschen.

Ein Flow ist ein Diagramm. Knoten sind die Knoten (Trigger, Aktivitäten, Connectors, Agents); Kanten sind die ausgerichteten Verbindungen zwischen ihnen. Die Befehle uip maestro flow nodes und uip maestro flow edges bearbeiten direkt eine .flow -Datei – Hinzufügen, Konfigurieren, Auflisten und Löschen von beiden.

Diese Seite behandelt auch zwei begleitende Befehlsgruppen, die die .flow -Datei auf die gleiche Weise bearbeiten: variables und bindings.

Zusammenfassung​

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]

Beachten Sie globale Optionen. Austrittscodes folgen dem Standardvertrag.

Die einzelnen Gruppennamen node, edge, variable und binding sind Alias von nodes, edges, variables und bindings. add ist ein Alias von create in allen vier Gruppen und remove ist ein Alias von delete in variables und bindings.


UIP Maestro Flow-Knoten erstellen​

Erstellen Sie einen Knoten in einer .flow -Datei. Der Knotentyp muss in der Registrierung vorhanden sein – verwenden Sie uip maestro flow registry search um gültige <node-type> -Werte zu erkennen.

Argumente​

  • <file> (erforderlich) – Der Pfad zur .flow -Datei.
  • <node-type> (erforderlich) – Bezeichner des Knotentyps (z. B core.trigger.manual, uipath.connector.slack.send-message).

Optionen​

OptionBeschreibung
-i, --input <json>JSON-Objekt von Eingabewerten, die auf dem Knoten festgelegt werden sollen (z. B '{"script":"…"}'). Muss ein JSON-Objekt sein, kein Array oder Skalar. Übergeben Sie bei Connector- Knoten (Typ uipath.connector.*) hier nicht --input – führen Sie nodes configure anschließend aus.
--position <x,y>Position der Arbeitsfläche, z. B 250,150. Sowohl x als auch y sind erforderliche Zahlen.
--label <label>Anzeigebeschriftung für den Knoten.
--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>Nur Nicht-Katalog-Aktivitäten. Die von uip is activities metadata generate generierte Aktivitätsmetadatendatei (<Name>.json). Die Knotendefinition wird aus dieser Datei anstelle der Registrierung erstellt, und <node-type> muss uipath.connector.custom.<connector-key>.<slug> sein. Erfordert --scripts.
--scripts <dir>Nur Nicht-Katalog-Aktivitäten. Verzeichnis, das <scriptRef>.js für die Aktion und für jede Suche die Metadatenreferenzen enthält. Die Skriptquellen sind in den Knoten eingebettet. Erfordert --metadata.

Beispiel​

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"

Datenform (--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 ist true beim ersten Einfügen eines bestimmten node-type – der entsprechende Eintrag im .flow definitions[] -Array wird erstellt.

Wenn nur eines von --metadata und --scripts übergeben wird, schlägt der Befehl fehl.

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:

FeldBeschreibung
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.


Konfigurieren von UIP Maestro Flow-Knoten​

Füllen Sie inputs.detail auf einem bereits hinzugefügten Knoten aus und erstellen Sie die benötigten Workflowbindungen. Führen Sie dies nach nodes create für Connector-, verwaltete HTTP- und Dateiknoten (core.action.file.read, core.action.file.create) aus. Die Orchestrator-Verbindung eines Dateiknotens ist nur durch nodes configure gebunden; ein in connectionId übergebener nodes create --input ist nicht gebunden.

Argumente​

  • <file> (erforderlich) – Der Pfad zur .flow -Datei.
  • <node-id> (erforderlich) – ID des zu konfigurierenden Knotens (finden Sie unter nodes list).

Optionen​

  • --detail <json> (erforderlich) – Konfigurations-JSON. Die Form hängt vom Knotentyp ab:

Connector-Knoten (uipath.connector.*)​

Rufen Sie method und endpoint von connectorMethodInfo in der registry get -Ausgabe ab.

  • 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.
  • Optional: bodyParameters, queryParameters, pathParameters, filter, customFieldsRequestDetails

Ein Wert, der die Ausgabe eines anderen Knotens liest, muss das Präfix $vars. innerhalb des =js: -Ausdrucks verwenden, z. B. "=js:$vars.createEntityRecord1.output.Id". Das leere Formular ("=js:createEntityRecord1.output.Id") wird zur Laufzeit in undefined aufgelöst.

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" }
}'

Connector-Trigger und Wartezeit-Ereignisse (uipath.connector.trigger., uipath.connector.event.)​

Ein Connector-Trigger startet den Fluss; Ein auf ein Ereignis wartender Knoten pausiert den Fluss, bis das Ereignis ausgelöst wird. Beide haben die gleiche Detailform.

  • Erforderlich: connectionId, folderKey, eventMode (z. B. polling oder webhooks)
  • Erforderlich für generische Trigger und Ereignisse (Manifest activityType GenericTrigger, wie z. B. Data Fabric *.record-created): objectName, das zu abonnierende Objekt
  • Optional: eventParameters, queryParameters, pathParameters, filter (eine strukturierte Filterstruktur, kein unformatierter Ausdruck)

Erkennen Sie eventMode mit 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"}'

Dateiknoten (core.action.file.read, Core.Action.File.Create)​

Binden Sie die Orchestrator-Verbindung, die der Knoten zum Erreichen von Auftragsanhängen verwendet.

  • Erforderlich: connectionId (eine uipath-uipath-orchestrator -Verbindungs-UUID)
  • Optional: folderKey (Standardwert: der Ordner der Verbindung)
uip maestro flow nodes configure invoice-flow.flow node_file1 --detail '{"connectionId":"…"}'
uip maestro flow nodes configure invoice-flow.flow node_file1 --detail '{"connectionId":"…"}'

Verwaltete HTTP-Knoten (core.action.http.v2)​

Zwei Authentifizierungsmodi:

Connector-Modus (authentication: "connector") – verwendet eine Integration Service-Verbindung für die Authentifizierung:

  • Erforderlich: authentication, method, connectionId, folderKey, targetConnector
  • method ∨ GET, POST, PUT, PATCH, DELETE, OPTIONS, HEAD
  • Optional: url (Pfad an Connector-Basis-URL angefügt), 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"
}'

Manueller Modus (authentication: "manual") – keine Connector-Authentifizierung, geben Sie die vollständige URL und alle Authentifizierungsheader selbst an:

  • Erforderlich: authentication, method, url (vollständige URL)
  • Optional: headers, query, body (Zeichenfolge; kann ein Ausdruck sein, z. B =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>" }
}'

Datenform (--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.


UIP Maestro Flow-Knotenliste​

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

Argumente​

  • <file> (erforderlich) – Der Pfad zur .flow -Datei.

Optionen​

OptionBeschreibung
-l, --limit <number>Anzahl der zurückzugebenden Zeilen, 1–10.000.
--offset <number>Anzahl der zu überspringenden Zeilen, 0–1000.000. Standard: 0.

Ohne --limit oder --offset kommt jede Zeile zurück. Bei beiden ist Count die Anzahl der zurückgegebenen Zeilen und die Antwort enthält ein Pagination -Objekt mit:

  • Returned
  • Limit
  • Offset
  • Total
  • HasMore

Datenform (--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
  }
}

Jeder Eintrag enthält mindestens id und type; der Dienst fügt auch Anzeigemetadaten aus dem .flow definitions[] -Array an.


UIP Maestro Flow-Knoten löschen​

Löschen Sie einen Knoten und alles, was dazu gehört. Verwenden Sie nodes list um die Knoten-ID zu finden. Löscht:

  • Verbundene Edges
  • Verwaiste Bindungen
  • Verwaiste Definitionen
  • Knotenvariablen, die sich im Besitz des gelöschten Knotens befinden
  • Variablenaktualisierungen, die dem gelöschten Knoten gehören

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

Argumente​

  • <file> (erforderlich) – Der Pfad zur .flow -Datei.
  • <node-id> (erforderlich) – ID des zu löschenden Knotens.

Datenform (--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.

Argumente​

  • <file> (erforderlich) – Der Pfad zur .flow -Datei.

Optionen​

OptionBeschreibung
--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.

Beispiel​

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

Datenform (--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.

Argumente​

  • <file> (erforderlich) – Der Pfad zur .flow -Datei.

Optionen​

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

Datenform (--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
  }
}
FeldBeschreibung
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.

Argumente​

  • <file> (erforderlich) – Der Pfad zur .flow -Datei.

Optionen​

OptionBeschreibung
--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.

Beispiel​

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

Datenform (--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
  }
}
FeldBeschreibung
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.

Fehler​

FallErgebnisErrorCodeCode beenden
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

UIP Maestro Flow Edges erstellen​

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.

Argumente​

  • <file> (erforderlich) – Der Pfad zur .flow -Datei.
  • <source-id> (erforderlich) – ID des Quellknotens.
  • <target-id> (erforderlich) – ID des Zielknotens.

Optionen​

  • --source-port <port> – Name des Quellports. Standardmäßig wird der Port, den der Knoten definiert, als Standard markiert, andernfalls output, andernfalls der einzige Flow-Port des Knotens. Ein Knoten mit mehreren Flow-Ports und keinem Standard, z. B. einer Entscheidung, benötigt --source-port (z. B. --source-port true).
  • --target-port <port> – Name des Zielports. Standardmäßig wird der Port, den der Knoten definiert, als Standard markiert, andernfalls input, andernfalls der einzige Flow-Port des Knotens.

Wenn Sie den Befehl mit denselben Argumenten erneut ausführen, wird die vorhandene Edge mit Code: "EdgeAlreadyExists" zurückgegeben und eine Warnung wird in Standardversion geschrieben.

Datenform (--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"
    }
  }
}

UIP Maestro Flow Edges Liste​

Listen Sie alle Edges in einer .flow -Datei auf.

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

Optionen​

OptionBeschreibung
-l, --limit <number>Anzahl der zurückzugebenden Zeilen, 1–10.000.
--offset <number>Anzahl der zu überspringenden Zeilen, 0–1000.000. Standard: 0.

Ohne --limit oder --offset kommt jede Zeile zurück. Bei beiden ist Count die Anzahl der zurückgegebenen Zeilen und die Antwort enthält ein Pagination -Objekt mit:

  • 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
  }
}

UIP Maestro Flow Edges löschen​

Löscht eine einzelne Edge nach ID. Verwenden Sie edges list um die ID zu finden.

Argumente​

  • <file> (erforderlich) – Der Pfad zur .flow -Datei.
  • <edge-id> (erforderlich) – ID der zu löschenden Edge.

Datenform (--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" }
  }
}

Variablen​

Die Gruppe variables bearbeitet die Unterstruktur variables einer .flow -Datei.

UIP Maestro Flow-Variablen​

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 (erforderlich).
  • type ∨ string, number, boolean, object, array, file (Standard: string).
  • --default-value wird pro --type geparst – object/array -Werte müssen gültige JSON der übereinstimmenden Form sein.
  • --schema muss ein JSON-Objekt sein (z. B '{"type":"string"}').
  • --trigger-node-id <nodeId> – Der Triggerknoten, zu dem eine Eingabevariable gehört. Standardmäßig der einzige Triggerknoten des Flows; erforderlich, wenn der Flow mehr als einen Einstiegspunkt hat.
  • 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 benötigt --limit und --offset, wie nodes list es tut.

Datenstrukturen: VariableAddSuccess (Data.Variable) für create, VariableListSuccess (Data.Variables[], Count), VariableRemoveSuccess (Data.DeletedVariable) für delete.


Bindings​

Bindungen deklarieren die externen Ressourcen, die ein Flow zum Zeitpunkt der Veröffentlichung/Bereitstellung benötigt (einen Zielprozess, ein Agent, eine Verbindung, eine Warteschlange, …) und welche Knoteneigenschaft sie verknüpfen.

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> ist ein Ressourcentyp, z. B. connection, queue, process oder bucket. Führen Sie uip maestro flow bindings create --help für die vollständige Liste aus.
  • --property-attribute ist die Zielknoteneigenschaft, die die Bindung ausfüllt (z. B name, folderPath, connection).
  • --resource-sub-type bietet eine Unterklassifizierung (z. B Agent, Process).
  • bindings delete löscht alle Bindungen mit dem angegebenen Ressourcenschlüssel, nicht einen einzelnen Eintrag nach ID. list benötigt --limit und --offset, genauso wie nodes list .

Datenstrukturen: BindingAddSuccess (Data.Binding) für create, BindingListSuccess (Data.Bindings[], Count), BindingRemoveSuccess (Data.DeletedBindings[], Count) für delete.


UIP Maestro Flow-Format​

Automatisches Layout: Positionieren Sie Knoten in einer .flow -Datei neu, um Überlappungen zu entfernen und das Diagramm sauber anzuordnen.

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.

Datenform: 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.

Siehe auch​

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support(opens in new window)

Möchten Sie lernen? UiPath Academy(opens in new window)

Haben Sie Fragen? UiPath-Forum(opens in new window)

Auf dem neuesten Stand bleiben