Help

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

Topic Labels: Automations
265 4
cancel
Showing results for 
Search instead for 
Did you mean: 
dara_harmon
5 - Automation Enthusiast
5 - Automation Enthusiast

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

With Record ID.png

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

Without Record ID.png

4 Replies 4

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

— ScottWorld, Expert Airtable Consultants

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

Try clicking "Edit code":
Screenshot 2024-04-08 at 9.59.18 AM.png

Then "Add input variable":

Screenshot 2024-04-08 at 9.59.27 AM.png

Then set it up there:
Screenshot 2024-04-08 at 9.59.41 AM.png

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

Screenshot 2024-04-08 at 10.00.51 AM.png

 

dara_harmon
5 - Automation Enthusiast
5 - Automation Enthusiast

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