I have a “List board’s items” module in monday, and I try to get all the Item ID of these listed items. No metter what I am doing, and which values from the “List board’s items” outputs I put in the iterator after the “List board’s items” module - the iterator doesn’t return list od item ID’s but instead it return just the first Iten ID.
the idea behind the Iterator module is that it will produce a separate bundle for each item in an array. But in your case the List module is already doing that, there is no array to iterate over.
Do you need all the IDs grouped together? You will then need an Aggregator module.
Hi @Ido_Puterkovski
The List Item module does not return an array, so there’s no need to manually iterate. It automatically processes each item individually as it moves through the subsequent modules.
I got what you both wrote but in fact when I try to enter the output of the list module in the ID SECTION within the last module (update item’s column value) its show me error. Do you have an idea of what cold be wrong?
If your end goal is to get the ids of the items listed it’s a 2 step proccess.
gather all the IDs
make a list out of them
If you use an iterator you iterate through all the array’s items. in the list boards item there are not array (or an array of 1 item to be more spesific) and thats why you get only 1 item returned/
You need to use a Text aggregator to grab all the IDs, match them with a symbol and then split them into a list. Here is the scenario:
If you wish to use that ID to do something else (Update column) you don’t even need to add an aggregator. You simply map the value on your next module and it iterates for every item on the initial list.