UiPath Documentation
uipath-cli
2026.10
false
UiPath CLI ユーザー ガイド

UIP Maestro フロー ノードと UIP Maestro フロー エッジ

「uip maestro flow nodes」および「uip maestro flow edges」の構文とオプション。.flow」ファイル内のノードとエッジを作成、設定、表示、削除します。

フローはグラフです。ノード は頂点 (トリガー、アクティビティ、コネクタ、エージェント) です。 エッジ は、それらの間の有向接続です。uip maestro flow nodes コマンドと uip maestro flow edges コマンドは、.flowファイルをその場で編集し、追加、設定、リスト表示、削除を行います。

このページでは、.flow ファイルを同じ方法で編集する 2 つのコンパニオン コマンド グループ、 variables と bindingsについても説明します。

概要​

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]

グローバルオプションを優先します。終了コードは 標準コントラクトに従います。

node、edge、variable、および binding の単数形グループ名は、nodes、 edges、 variables、および bindingsのエイリアスです。add は 4 つのグループすべてで create のエイリアスであり、remove は variables と bindingsで delete のエイリアスです。


UIP Maestro フロー ノードは、以下を作成します。​

.flowファイル内にノードを作成します。ノードの種類がレジストリに存在している必要があります。有効な<node-type>値を検出するには、uip maestro flow registry searchを使用します。

引数​

  • <file> (必須) — .flow ファイルのパスです。
  • <node-type> (必須) — ノードタイプ識別子 (例:core.trigger.manual、 uipath.connector.slack.send-message)。

オプション​

オプション説明
-i, --input <json>ノードに設定する入力値の JSON オブジェクト (例:'{"script":"…"}')。配列やスカラーではなく、JSON オブジェクトである必要があります。コネクタ ノード (タイプ uipath.connector.*) の場合は、ここで--input渡さず、後でnodes configureを実行してください。
--position <x,y>キャンバスの位置 (例:250,150。x と y はどちらも必須の数値です。
--label <label>ノードの表示ラベルです。
--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>カタログ以外のアクティビティのみ。uip is activities metadata generateによって生成されるアクティビティ メタデータ ファイル ( <Name>.json) です。ノード定義はレジストリではなくこのファイルから構築され、 <node-type> uipath.connector.custom.<connector-key>.<slug>する必要があります。--scriptsが必要です。
--scripts <dir>カタログ以外のアクティビティのみ。アクションと、すべてのメタデータ参照の <scriptRef>.js を保持するディレクトリ。スクリプト ソースがノードに埋め込まれている。--metadataが必要です。
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"

データシェイプ (--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は、特定のnode-typeの最初の挿入時にtrueされ、.flow definitions[]配列内の対応するエントリが作成されます。

--metadata と --scripts のいずれか 1 つだけを渡すと、コマンドは失敗します。

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:

フィールド説明
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.


UIP Maestro フロー ノード 構成​

すでに追加済みのノードに inputs.detail を設定し、必要なワークフローのバインドを作成します。コネクタ ノード、マネージド HTTP、およびファイル ノード (core.action.file.read、 core.action.file.create) nodes createした後に、この操作を実行します。ファイル ノードの Orchestrator 接続は によってのみバインドされますnodes configurenodes create --input で渡されたconnectionIdはバインドされません。

引数​

  • <file> (必須) — .flow ファイルのパスです。
  • <node-id> (必須) — 設定するノードの ID です ( nodes listで検索します)。

オプション​

  • --detail <json> (必須) — 構成 JSON。形状はノードタイプによって異なります。

コネクタ ノード (uipath.connector.*)​

registry get出力のconnectorMethodInfoからmethodとendpointを取得します。

  • 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.
  • 任意: bodyParameters、 queryParameters、 pathParameters、 filter、 customFieldsRequestDetails

別のノードの出力を読み取る値では、=js:式内で $vars. プレフィックスを使用する必要があります (例: "=js:$vars.createEntityRecord1.output.Id")。ベア フォーム ("=js:createEntityRecord1.output.Id") は、実行時に undefined に解決されます。

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

コネクタ トリガーと待機イベント (uipath.connector.trigger.、uipath.connector.event.)​

コネクタ トリガーがフローを開始します。Wait-for Event ノードは、イベントが発生するまでフローを一時停止します。どちらも同じディテール形状をとります。

  • 必須: connectionId、 folderKey、 eventMode (例: polling 、 webhooks)
  • 一般的なトリガーとイベント (Data Fabric *.record-createdなどのマニフェスト activityType GenericTriggerに必要です。 objectName、サブスクライブするオブジェクトです
  • 任意: eventParameters、 queryParameters、 pathParameters、 filter (生の式ではない、構造化されたフィルター ツリー)

uip is triggers describe <connector-key> <eventType> <object> --connection-id <uuid>でeventModeを発見する

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

ファイル ノード (core.action.file.read、core.action.file.create)​

ノードがジョブの添付ファイルにアクセスするために使用する Orchestrator 接続をバインドします。

  • 必須: connectionId ( uipath-uipath-orchestrator 接続 UUID)
  • 任意: folderKey (既定ではコネクションのフォルダー)
uip maestro flow nodes configure invoice-flow.flow node_file1 --detail '{"connectionId":"…"}'
uip maestro flow nodes configure invoice-flow.flow node_file1 --detail '{"connectionId":"…"}'

マネージド HTTP ノード (core.action.http.v2)​

次の 2 つの認証モード:

コネクタ モード (authentication: "connector") — 認証に Integration Service のコネクションを使用します。

  • 必須: authentication、 method、 connectionId、 folderKey、 targetConnector
  • method ∈ GET、 POST、 PUT、 PATCH、 DELETE、 OPTIONS、 HEAD
  • 任意: [ url (コネクタのベース URL に追加されるパス)、 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"
}'

手動モード (authentication: "manual") — コネクタ認証なし、完全な URL と認証ヘッダーを自身で指定します。

  • 必須: authentication、 method、 url (完全な URL)
  • 任意: headers、 query、 body (文字列。式 (例:=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>" }
}'

データシェイプ (--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 フロー ノードのリスト​

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

引数​

  • <file> (必須) — .flow ファイルのパスです。

オプション​

オプション説明
-l, --limit <number>返される行数 (1 から 10000)
--offset <number>スキップする行数 (0 から 1000000)既定 0です。

--limitまたは --offsetを指定しないと、すべての行が戻されます。どちらの場合も、返される行数 Count 、応答には次の Pagination オブジェクトが運ばれます。

  • Returned
  • Limit
  • Offset
  • Total
  • HasMore

データシェイプ (--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
  }
}

各エントリには、少なくとも id と typeが含まれます。また、 .flow definitions[] 配列から表示メタデータもアタッチします。


UIP Maestro フロー ノードの削除​

ノードとノードが所有するすべてのものを削除します。nodes list を使用してノード ID を見つけます。削除:

  • 接続されたエッジ
  • 孤立した装丁
  • 孤立した定義
  • 削除されたノードが所有するノード変数
  • 削除されたノードが所有する変数の更新

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

引数​

  • <file> (必須) — .flow ファイルのパスです。
  • <node-id> (必須) — 削除するノードの ID。

データシェイプ (--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.

引数​

  • <file> (必須) — .flow ファイルのパスです。

オプション​

オプション説明
--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.

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

データシェイプ (--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.

引数​

  • <file> (必須) — .flow ファイルのパスです。

オプション​

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

データシェイプ (--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
  }
}
フィールド説明
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.

引数​

  • <file> (必須) — .flow ファイルのパスです。

オプション​

オプション説明
--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.

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

データシェイプ (--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
  }
}
フィールド説明
GroupsFields、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.

失敗​

ケース (Case)結果ErrorCode終了コード
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 フローのエッジによって作成される​

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.

引数​

  • <file> (必須) — .flow ファイルのパスです。
  • <source-id> (必須) — ソース ノードの ID。
  • <target-id> (必須) — ターゲット ノードの ID。

オプション​

  • --source-port <port> — 送信元ポート名。既定では、ノードの定義がデフォルトとしてマークするポートを使用し、それ以外の場合はノードの唯一のフロー ポート outputします。複数のフロー ポートがあり、既定値 (判断など) がないノードには、 --source-port が必要です (例: --source-port true)。
  • --target-port <port> — ターゲット ポート名です。既定では、ノードの定義がデフォルトとしてマークするポートを使用し、それ以外の場合はノードの唯一のフロー ポート inputします。

同じ引数でコマンドをもう一度実行すると、 Code: "EdgeAlreadyExists" で既存のエッジが返され、stderr に警告が書き込まれます。

データシェイプ (--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 ファイル内のすべてのエッジのリストを取得します。

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

オプション​

オプション説明
-l, --limit <number>返される行数 (1 から 10000)
--offset <number>スキップする行数 (0 から 1000000)既定 0です。

--limitまたは --offsetを指定しないと、すべての行が戻されます。どちらの場合も、返される行数 Count 、応答には次の Pagination オブジェクトが運ばれます。

  • 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 フローのエッジの削除​

1 つのエッジを ID で削除します。edges list を使用して ID を見つけます。

引数​

  • <file> (必須) — .flow ファイルのパスです。
  • <edge-id> (必須) — 削除するエッジの ID です。

データシェイプ (--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 グループは、.flow ファイルのvariables サブツリーを編集します。

UIP Maestro のフロー変数​

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 (必須)。
  • type ∈ string、 number、 boolean、 object、 array、 file (既定値は stringです)。
  • --default-value は --type ごとに解析されます — object/array 値は、一致するシェイプの有効なJSONである必要があります。
  • --schema JSON オブジェクト (例:'{"type":"string"}')。
  • --trigger-node-id <nodeId> — 入力 変数が属するトリガー ノード。既定では、フローの唯一のトリガー ノードです。フローに複数のエントリ ポイントがある場合に必要です。
  • 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 では、nodes list と同様に --limit と --offsetが必要です。

データ図形: createの場合は VariableAddSuccess (Data.Variable)、deleteの場合は VariableListSuccess (Data.Variables[]、 Count)、VariableRemoveSuccess (Data.DeletedVariable)。


Bindings​

バインディングは、パブリッシュ/デプロイ時にフローが必要とする外部リソース(ターゲットプロセス、エージェント、接続、キューなど)と、それらが接続するノードプロパティを宣言します。

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> は、 connection、 queue、 process、 bucketなどのリソースの種類です。uip maestro flow bindings create --helpを実行して完全なリストを表示する。
  • --property-attribute バインドによって設定されるターゲット ノード プロパティ (例:name、 folderPath、 connection)。
  • --resource-sub-type では下位分類が提供されます (例:Agent、 Process)。
  • bindings delete は、ID によるエントリを 1 つも削除せず、指定したリソース キーを持つすべてのバインドを削除します。list では、nodes list の場合と同様に、--limitと --offsetが必要です。

データ図形: createの場合は BindingAddSuccess (Data.Binding)、 BindingListSuccess (Data.Bindings[]、 Count)、 deleteの場合は BindingRemoveSuccess (Data.DeletedBindings[]、 Count)。


UIP Maestro フロー形式​

自動レイアウト: .flow ファイル内のノードを再配置して、オーバーラップを削除し、グラフをきれいに配置します。

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.

データシェイプ: 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.

参照​

このページは役に立ちましたか?

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得