latest
Tree
Clean Tree

Removed all null and invalid items from a data tree

ID

662ae5a310b6cb87640c91a4

Name

Clean Tree

Group

Tree

Package

List

Keywords

clean
tree
filter tree
remove nulls

List

Sequence

Set

Tree

Creation method

There are two options for creating a Clean Tree node.

  • The first way to create a Clean Tree node is by using the search list, which is opened by double left-clicking in the workspace. You can write the name of the node you need or words associated with this node.
    • clean, tree, filter tree, remove nulls
  • The second way is to select a Clean Tree node from the menu that opens from the top left.
    • Menu > List > Tree > Clean Tree

Steps

  • Create a Clean Tree node.
  • Connect the tree data that needs to be cleaned to the first port.
  • Configure the options to remove nulls, invalid items, and empty items by connecting boolean values to the respective ports.
  • After creating a Clean Tree node, connect the tree data to the first port. Configure the options to remove nulls, invalid items, and empty items by connecting boolean values to the respective ports. On the output port, you will get the filtered tree data.

See also

Weave

Inputs

NameTypeDescriptionDefault Value
tree
Any
Data tree to clean
removeNulls
Boolean
Remove null items from the tree
removeInvalid
Boolean
Remove invalid items from the tree
removeEmpty
Boolean
Remove empty items from the tree

Outputs

NameTypeDescription
tree
Any
Filtered tree