Hello everyone,
Could someone please shed some light on what might be happening here?
Hello,
Airtable Search Records will return bundles. For searches 1-5, it returns 1 bundle, but for search 6, it will return 2 bundles. This results in a total of 7 Operations on Tools. You didn't show it in the video, but if you expand Operation 6 from that Airtable module, you might see two bundles. I suspect if you change your limit to 1 on the Airtable module, it will be forced to return only 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.
Great job! Much appreciated.
Just for your information, I did adjust the limit to 1, and that fulfills my requirements. I was approaching the problem incorrectly, so thank you for the clarification as well.
As a follow-up for future reference, what would be the benefit of replacing the repeater with the array module? Do you believe it offers a more robust solution?
Thanks again.
You would be able to bypass one of the Airtable modules because you'd be utilizing an array. Whenever you can reduce calls to external services, you save a small amount of time and decrease the chance of additional delays or failures should the service be unavailable.