UiPath Documentation
maestro
latest
false
Maestro Orchestrate user guide

Filter

Keep only the entries of a list that match your conditions.

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

Configuration​

FieldRequiredDescription
InputYesThe collection (array) to filter. Reference as $vars.<nodeName>.output.
ConditionsYesOne or more conditions. An entry is kept only if all conditions are met.

Example​

Keep only orders with a status of "completed":

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

Output available as $vars.filter1.output.

The condition value is a literal. It doesn't resolve $vars references or expressions. To filter against a value computed at run time, such as a dynamic threshold, use a Script node.

Common issues​

IssueResolution
Output is emptyThe conditions don't match any entries. Inspect the input list in the execution trace to check the field names and values.

Next steps​

  • Transform: chain several operations in one node.
  • Script: custom logic when no data operation fits.
  • Configuration​
  • Example​
  • Common issues​
  • Next steps​

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated