Artisan SVG > List Helpers (list-helpers) (view-headline)

Filter List by Nested Value

Snippet
Universal
Beginner

Snippets are pieces of workflows. You can copy and paste them directly into any Tray workflow.

New to snippets? Watch this video

For more details please see our Snippet Documentation

About this Snippet
Copy

Pass this list helper a list of objects then build out your filter(s). You can build out a nested object in the filter OR build an object in a previous step and pass it it (more complex, only necessary if you need to dynamically change the keys). Simplest is the way it is setup in this snippet. Hardcode the different layers of the object until you get to the value you want to filter on. You can hardcode OR map in your filter value. The snippet comes with demo data so you can view and test right from one of your workflows before applying it to your use case.

See it in action
Copy