I have a Workflow that goes something like this:
- Run
- Get Tasks: HTTP Request
- Filter Tasks: Function
- Get Folders: HTTP Request
- Filter Folders: Function
- Combine Tasks and Folders: Function
In step 6, I need to use the output from both 5 and 3. 5 is just items
, so that’s fine. But, I’m having trouble getting all of the output from 3.
I’ve tried $node["Filter Tasks"].json
which only gives me the first item. I’ve also tried $item(0).$node["Filter Tasks"].json
, which gives me the same thing. $item(1).$node["Filter Tasks"].json
gives me the second item. But, since I don’t know how many items are returned in that node, I can’t just get $item(0)
, $item(1)
, etc.
I can’t figure out how I just get all of the items from the “Filter Tasks” node, and I don’t see anything in Function | Docs or JavaScript Code Snippets | Docs that tells me.