Nov 10, 2024 08:33 PM
Hey can someone tell me why I keep getting a error I tried so many different ways that I know but i seem to can't figure It out😩
Nov 11, 2024 02:53 AM - edited Nov 11, 2024 02:55 AM
Hello @Peezy,
Let's first understand how airtable Scripting works.
Airtable has 2 types of scripting. 1) Automation Scripting 2) Extension Scripting.
1) Automation Scripting: https://support.airtable.com/docs/run-a-script-action#run-a-script-action-limits
As this is run into Airtable's server that's why restrict many basic logging objects.
In your current case use
console.log('your string')
2) The output.text() which can be easily used on Airtable Extension. That is totally run on our local browser so it can able to execute that.
Try to understand the difference between them, then it will be easy to use.
👍
Nov 12, 2024 09:06 PM
Nov 12, 2024 09:10 PM
How can I get this script to only create new record lines for only the amount of the "Tickets" ???
The script keeps creating new record lines until I go in and shut the automations off
Nov 12, 2024 09:58 PM
Hello @Peezy,
I think you hit circular reference on the Automation trigger call.
It's something like Initially you create new record on a your table and you've setup trigger to run that automation.
Then during the process of that automation, it creates a new record in the same table in that case that same automation is triggered again.
Read more at here https://support.airtable.com/docs/troubleshooting-airtable-automations#unexpected-automation-output
👍