Hi, I was wondering if it’s possible to automatically edit/delete a record in a table when another record in a linked table is edited/deleted. We have a Google Calendar table imported and would like to automatically add or update certain events when a date field from another table is edited.
I searched for a bit and saw that in the old AppSheet version it was possible to do this with the “workflows” tab, which has now been replaced with “automation”, and I don’t see a way to do this in there. There’s “run a data action”, which allows to add new rows to another table using an expression, but I can’t figure out how to perform an edit.
You may need to use a “Data: execute an action on a set of rows” action that in turn invokes a “Data: set the value of some columns in this row” action.
Thanks for the reply, didn’t get back into this until today. On “run action on rows” I can only execute a “delete” action, even though this table has other actions like add, edit and some custom ones I made. Am I missing something?
Okay nevermind, just saw that you need to create a custom action that’s specifically “data: set the values of some columns in this row”, and then that will show up, but “edit” or other actions don’t.
Right–being able to select Add or Edit for the action to apply to the Referenced Rows wouldn’t make sense. You need an action that represents some concrete change to an existing row.