Change Java action objectHasChanged to ignore associations

0
Hi all! I have a challenge to decide if one of the members of an object has changed. For that I wanted to use the java action ‘objectHasChanged’ but within this action associations are included. Does anyone know a way to use the java function isChanged, but ignoring the associations. This is important because we want to do something else when one of the associations is changed, so only attributes must be read. Thanks in advance! Lisa
asked
2 answers
2

Can you use “memberHasChanged” from CommunityCommons? You can use that to look for a specific attribute. From the documentation…

MemberHasChanged - Checks whether a member has changed since the last commit. Useful in combination with getOriginalValueAsString.
 

answered
0

We used the memberHadChanged in combination with MxObjectMemberList from the MxModelReflection module

answered