Skip to main content

Run Script looks different in one base versus another... Returning error

  • April 7, 2024
  • 4 replies
  • 22 views

Forum|alt.badge.img+7

Hello! Wondering if someone knows why this is happening- 

I am trying to mimic a script I use in another base, and I've just realized why it's not working. In my other base, I can set the 'record' but in the second, this field doesn't exist. 

What am I missing? 

Here it is in the base where it works, where Record exists

And in the base where it doesn't work, where record doesn't appear as a field:

4 replies

ScottWorld
Forum|alt.badge.img+35
  • Genius
  • 9808 replies
  • April 7, 2024

You have to set your input values for input.config() in the left margin of the “run script” action.

— ScottWorld, Expert Airtable Consultants


kuovonne
Forum|alt.badge.img+29
  • Brainy
  • 6009 replies
  • April 7, 2024

What are the triggers for the two automation? Is one of them a scheduled automation?


TheTimeSavingCo
Forum|alt.badge.img+31

Try clicking "Edit code":

Then "Add input variable":

Then set it up there:

After that's done your automation should look like this:

 


Forum|alt.badge.img+7
  • Author
  • New Participant
  • 4 replies
  • April 8, 2024

THANK YOU!!! Missed that part when my tutor helped me set up the other one.