Add a new row to another table with BEFORE & AFTER values

Hi,
I am trying to make a simple changelog using and conditional action.
[_THISROW_BEFORE].[LOCATION] <> [_THISROW_AFTER].[LOCATION].

How can I achieve to add new and old locations to a changelog table?

Solved Solved
1 7 1,905
1 ACCEPTED SOLUTION

The data saved into column from the form is always โ€œafterโ€ value.

I would suggest you will add new physical column to your table, calling โ€œPrevious valueโ€ and push expression of [_THISROW_AFTER].[LOCATION] as Appformula.

By doint so, whenever the row is edited, it will automatically capture the previous value as well as curernt (after) value in the LOCATION field.

Then pass values for those two column to add new rows to change log table.

View solution in original post

7 REPLIES 7
Top Labels in this Space