UiPath Documentation
maestro
latest
false
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

Maestro ユーザー ガイド

Data Transform

Transforms data using a variety of operations. The Data Transform node and its individual operation nodes (Filter, Map, Group By) are available as separate selectable nodes in the node palette.

When to use Data Transform vs Script

Use Data Transform operations when the transformation is a field-level operation on a collection. The available operations cover:

  • フィルター処理
  • マッピング
  • グループ

Use Script when the transformation requires conditional logic, arithmetic, or string manipulation, or when no dedicated operation covers the case. Both can be combined: a Data Transform operation can filter or reshape a collection, then pass the result to a Script node.

出力

All Data Transform operation nodes output their result as output, accessible downstream as $vars.<nodeName>.output.

フィルター

Keeps only the entries in a collection that match your conditions.

構成

フィールドRequired説明
入力はいThe collection (array) to filter. Reference as $vars.<nodeName>.output.
条件はいOne or more conditions. An entry is kept only if all conditions are met.

Keep only orders with a status of "completed":

  • 入力: $vars.fetchOrders1.output.body
  • Condition: status equals completed

Output available as $vars.filter1.output.

Transforms each entry in a collection by modifying or reshaping its fields.

構成

フィールドRequired説明
入力はいThe collection (array) to transform.
Field mappingsはいFor each target field, define the name and the source field or expression.

Rename firstName and lastName fields to first and last:

Target fieldSource mapping
firstfirstName
lastlastName

Output available as $vars.map1.output.

Group By

Groups a collection by a shared field and aggregates values like totals, averages, or counts.

構成

フィールドRequired説明
入力はいThe collection (array) to group.
Group by fieldはいThe field whose value determines the group.
AggregationsいいえAdditional computed fields per group (count, sum, average, min, max, first, last, collect).

Group a list of orders by region and count the number of orders per region:

  • 入力: $vars.fetchOrders1.output.body
  • Group by: region
  • Aggregation: orderCount = count

Output available as $vars.groupBy1.output.

一般的な問題

問題解決方法
Output is empty after FilterThe conditions don't match any entries. Inspect the input collection in the execution trace to verify the field names and values.
Map output has undefined fieldsThe source field path doesn't exist in the input entries. Use the execution trace to confirm the input structure.
  • When to use Data Transform vs Script
  • 出力
  • フィルター
  • 構成
  • Map
  • 構成
  • Group By
  • 構成
  • 一般的な問題

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得