Detect ANY changes in any columns of the row [_THISROW_BEFORE]<>[_THISROW_AFTER]

Is there anyway to catch any changes to a row in an automation bot?

I understand we can detect any change for a specific column
([_THISROW_BEFORE].[Column1]<>[_THISROW_AFTER].[Column1])

But is there a way it can catch not only one (1) column but any column?

If I use [_THISROW_BEFORE]<>[_THISROW_AFTER], the expression description only compares the KEYS of the row, which of course would always be unchanged.

So do I have to specify each column's before and after inside an OR()?

Solved Solved
0 7 1,030
2 ACCEPTED SOLUTIONS

If your automation event is triggered, doesn't that implicitly mean that the row changed?

If you do need something more explicit, maybe you could utilize a Change type column and then reference that in the automation.

View solution in original post

Yes as @dbaum  mentioned, you could use a ChanegCounter type column that listens to all columns whose changes you want to detect. The changecounter column can be in accumulate mode. Now for any change of any column, the changecounter column will increment by 1.

So you could use this changecounter column's before and after values suitably as you need.

View solution in original post

7 REPLIES 7

Yes, I believe entire row level comparison for change is not yet available.

Just for the sake of clarity, could you update if you are looking for if a row has changed from previous row ( meaning any column changes, the row changes and you are interested in just knowing row has changed because a column in row has changed)

Or are you looking for which column among several in the row has changed in the row  and you also wish to know the before and after value of the changed column.

none of the above.  I just simply want to know if any column changed in the row.

If your automation event is triggered, doesn't that implicitly mean that the row changed?

If you do need something more explicit, maybe you could utilize a Change type column and then reference that in the automation.

It's not being triggered.

But you change type suggestion can be a solution. Thanks.

Note that a change to a virtual column will neither trigger a bot nor trigger a Change-type column.

Yes as @dbaum  mentioned, you could use a ChanegCounter type column that listens to all columns whose changes you want to detect. The changecounter column can be in accumulate mode. Now for any change of any column, the changecounter column will increment by 1.

So you could use this changecounter column's before and after values suitably as you need.

Steve
Platinum 4
Platinum 4

@dbaum wrote:

If your automation event is triggered, doesn't that implicitly mean that the row changed?


Yup.

Top Labels in this Space