Skip to main content
Solved

Access Values from Repeating Group in Script

  • March 13, 2024
  • 2 replies
  • 32 views

Forum|alt.badge.img+4
  • Participating Frequently
  • 5 replies

New to AirtTable automation and surprised this hasn't been asked before, but I couldn't find anything in docs or here. I've got a repeating group set up using List of Records as the Input list. The list of records is only 8 rows long.

For each record, I want to run a script. In that script I want to access one of the values from the record currently being iterated over. I was hoping this was passed through `input.config()`, but dumping that reveals only what I manually add as an Input variable.

I had this in the script itself, using `selectRecordsAsync` and iterating over each record. However, the operation exceeded the 30second limit, so I thought a repeating group would be better. 

 

thanks

Best answer by Dan_Montoya

 

 

First use the find records action.

Then use the repeating group action.  Select the output of the find as your list.  Then launch the script inside of the repeating group section.

2 replies

Dan_Montoya
Forum|alt.badge.img+17
  • Employee
  • 275 replies
  • Answer
  • March 13, 2024

 

 

First use the find records action.

Then use the repeating group action.  Select the output of the find as your list.  Then launch the script inside of the repeating group section.


Forum|alt.badge.img+4
  • Author
  • Participating Frequently
  • 5 replies
  • March 14, 2024

@Dan_Montoya If it were a snake it would have bitten me. That worked perfectly. thanks