Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.

Expression to recalculate all rows in a table (child/parent)

Hi,

I try to set an action and a workflow to update correctly all rows of a table containing sums of related table rows. I need to update the sum colum of the parent table as soon as there is an add/edit/delete in the child table.

I think I understood the concept of worflows to watch changes in child table but I don’t understand what kind of expression is needed in the action to be linked with the workflow. Any suggestion ?

Thanks

Solved Solved
0 20 2,940
1 ACCEPTED SOLUTION

This is what I was trying to show in the second video, it shows how I’ve setup a “Data: Execute an actin on a set of rows” action type to update the parent.
2X_c_c35d6140e377551b5818f2eb3fe506aa48e20d9d.png

Instead of putting the summing column into the list([Column]) space, you need to put the ref link of the parent there. The system is looking for a reference, technically a list of references (or records).

These data change actions can be a little tricky:

Read more about actions here:


No this is not automatic, though it is pretty simple to setup:


Here’s a sample app that you can use to see how it’s all put together:
https://www.appsheet.com/samples/This-app-shows-how-to-use-reference-actions?appGuidString=e76d2e73-...

View solution in original post

20 REPLIES 20
Top Labels in this Space