Object is changed

0
what is the best way to check if one of the attributes or association of an object is changed? Compare it with the object that you have in DB an check each attribute and association?
asked
2 answers
1

Hi Ammar please use ObjectHasChanged java action from Community commons or use export mapping and compare the strings

answered
2

The CommunityCommons module has an objectHasChanged java action.

It will also return true when an object went through a "change object" activity in a microflow while nothing was actually changed. If you only want true on "real" changes, create your own java action looping over attributes using getChangedMembers and comparing current values with original values.

 

answered