Hey, I am not too sure how I can get data (the name) from MongoDB using the Function node.
This is what i have written in the function node. The count output gets returned when the name variable is removed.
Hey @ruby09, do you want to access data from all three MongoDB nodes at the same time in your Function node? If so, you’d need to put them in sequential order. Otherwise, your Function node would only be able to see the items of your current execution.
Here’s an example showing the idea using different Set nodes:
1 Like
Hey @MutedJam
Thank you so much!
The Name is different for each MongoDB node so I want the output for name to be different just like the count.
My current function node code
Example of how my output looks like now.
Glad to hear, thanks so much for confirming!
1 Like