hey there,
Anyone know what is going on here please ?
hey there,
Anyone know what is going on here please ?
Hello @Jason_Jakarta,
Airtable Search Records is going to return bundles.
For searches 1-5 it returns 1 bundle but on search 6 it’s going to return 2 bundles.
That results in a total of 7 Operations on Tools.
You didn’t show in the video but if you expand Operation 6 from that Airtable module you might see two bundles.
I reckon if you change your limit to 1 on the Airtable module it will be forced to only return one of “session 6” but I don’t know which one so that’s probably not reliable.
Also, I don’t think you even need to use a repeater at all here.
You could just aggregate all the records/sessions into an array, then create an array of the session numbers
[1,2,3,4,5,6,6]
Deduplicate that array to get:
[1,2,3,4,5,6]
Iterate this array (which creates an “i” variable) and for each value of i, use map() and get() to pull the relevant values out of the session array.
Top man Donald!! Much appreciated.
FYI I did change the limit to 1 and that works for what I need. I was thinking about what I was doing the wrong way so thanks for the explanation too
Follow up for future knowledge, what would be the advantage of dropping the repeater for the array module? do you think its a more solid solution ?
Thanks again
Well, you’d be able to cut one of the Airtable modules since you’d be using an array. Anytime you can cut calls to external services you save a tiny bit of time and reduce the possibility of further delays or failure in case the service isn’t available.