Project

General

Profile

Filter elements

Description

Filters Source array elements on the specified conditions and returns an array whose elements match all the conditions

Input/Output

Source array : array <= Source
Property : value <= Option
Operator : value <= Option
Value : value <= Source or User

Output : array

Usage

  1. Connect a source to the operator
  2. Drag an array from the source tree and drop it into input field Source array
  3. If you want to manually add Value, select Property and Operator and type a Value, then click on Add condition; otherwise, click on OK
  4. Connect a source to the operator
  5. Select Property and Operator
  6. Drag a value from the source tree and drop it into input field Value
  7. Click on Add condition
  8. Click on OK

You can repeat steps 4-8 any time you want

Example

Source array = [{"key1":"value1", "key2":10}, {"key1":"value2", "key2":12}, {"key1":"value3", "key2":13}]
Property = "key2"
Operator = ">"
Value = 10

Output = [{"key1":"value2", "key2":12}, {"key1":"value3", "key2":13}]