Save the date! Join us on October 16 for our Product Ops launch event. Register here.
May 06, 2021 08:59 AM
Hello I am trying to create a script to enter in new information if needed or change information on a record if needed based on user button. I cannot seem to get the updaterecordasync to work. For the first one I just tested it by automatically changing a field ‘employees’ and giving it a set value, which I have been unsuccessful at getting to work. Ideally I would like to take user input and put it into the record field. I have attempted this on second part of the if statement with no luck either. Thank you for any help.
May 06, 2021 09:07 AM
Update I realized I need to have await before the table.updaterecord I am still having trouble using the variables in the updaterecordasync function
Jun 02, 2021 02:44 PM
Haven’t seen this earlier, but on the subject of variable consistency, read up on JS scopes. Also, try using a free IDE like VSC to write your scripts; having a capable linter makes all the difference in the world, especially if you’re still in the trial-and-error learning phase.