Welcome to the Airtable community!
I’m sorry that you are having a difficult time using scripting. You don’t say what your coding background is, so it is difficult to give advice on how to use scripting. It looks like you are using scripting with automations. I recommend starting out using Scripting App. I find testing and debugging much easier in Scripting App. Automation scripts have more moving parts than Scripting App, such as ensuring that you have the proper trigger record when testing.
I personally enjoy using scripting, but it took me writing several scripts and reading a lot of documentation before I became comfortable writing scripts.
Welcome to the Airtable community!
I’m sorry that you are having a difficult time using scripting. You don’t say what your coding background is, so it is difficult to give advice on how to use scripting. It looks like you are using scripting with automations. I recommend starting out using Scripting App. I find testing and debugging much easier in Scripting App. Automation scripts have more moving parts than Scripting App, such as ensuring that you have the proper trigger record when testing.
I personally enjoy using scripting, but it took me writing several scripts and reading a lot of documentation before I became comfortable writing scripts.
Hey there,
Thanks for getting back to me. I should of said I am a full stack developer with 5ish years in isomorphic js.
Ironically I think this is what makes me less patient with these kinds of tools
Ok that’s a good piece of advice of using the scripting app before the automation.
But could you do me a favour and confirm that the “mark duplicates“ example script actually works as a copy paste of in an automation. Because from my perspective it looks broken.
And is there no way to get the line reference that failed. “Test failed” is essentially just a gas lighting system against all devs
Sorry two different accounts there. Ones the company “root” account
Thanks for providing more info on your background. It can be frustrating trying to code in a new environment that doesn’t have all the tools that you are used to using.
The “Mark duplicates” example runs fine for me.
Hey there,
Thanks for getting back to me. I should of said I am a full stack developer with 5ish years in isomorphic js.
Ironically I think this is what makes me less patient with these kinds of tools
Ok that’s a good piece of advice of using the scripting app before the automation.
But could you do me a favour and confirm that the “mark duplicates“ example script actually works as a copy paste of in an automation. Because from my perspective it looks broken.
And is there no way to get the line reference that failed. “Test failed” is essentially just a gas lighting system against all devs
Sorry two different accounts there. Ones the company “root” account
Indeed, platforms that attempt to provide development environments often fall well-short of expectations. But, it’s javascript; we have no excuses to overcome these adolescent frameworks. :winking_face:
I typically create an internal logging process that ooptionally] stream errors out to another table in the same base using try…catch.