Save the date! Join us on October 16 for our Product Ops launch event. Register here.
Aug 01, 2021 12:22 PM
Hello,
I have a problem with automation trigger on update.
I have configured update trigger on 3 fields: features, nextfeature, scripts.
But when i’m doing an update by API of this table in this way, trigger is firing.
await updateRecord(data.id, ‘Accounts’, {
“last_check_status”: date,
“status”: ‘active’,
});
I’m don’t update the field that i configured to listen. Is there any mistake on my side or it’s airtable’s error?
Aug 01, 2021 02:01 PM
Can you include screen shots of the fields and their configurations and the automaton and its configuration?
Is the problem that the automation is running when the API updates a watched field (versus a user updating a watched field)?
Or is the problem that the automation is running even when the watched field is not updated at all?
Aug 02, 2021 12:40 AM
The problem is that the automation is running even when the watched field is not updated at all - this option.
Aug 02, 2021 05:41 PM
Thank you for the screen captures.
I noticed that two of your watched fields are lookup fields.
Changes to lookup fields are not included in the record history, but automations do fire when lookup values change (due to changes in the underlying linked record). Is it possible that the changes to your script affect the linked record, which then in turn affects the watched lookup field? Is it possible that other parts of the script or some other automation is causing interference?
Here are some troubleshooting ideas: