I have several tables to track employee salaries: PayStubs (parent), Cash, and Bank (children). When we pay employees, the “paid” column in PayStubs gets updated via a bot. This works fine when I add or change a record, but the bot doesn’t seem to work when a record is deleted in a child table.
An automation’s event that is triggered by changes in one table will never be triggered by changes in another table, even if the other table is a child table.
Create an automation triggered by changes in the child table.
The automation triggers and completes but doesn’t update the PAID column accurately?
ICYMI: Consider making columns (e.g., PAID) that aggregate (e.g., SUM) data from other tables (e.g., CASH) virtual columns, which always reflect current data, rather than data source columns, which depend on explicitly updating a row.
In case you wish to pursue the real column update path, You may find the below post thread and solution by @Steve in that post relevant. Please also take look at the below post in that thread. This queries related to other dependent actions not getting executed when triggered by another delete action keep coming up.
You may also want to take a look at the solution by Steve. Essentially the solution suggests performing dependent update actions first and then perform the main delete.