Check if object is change

0
Question: Hi All I need to automate the process of creating a new version of an object in my application only when any attribute change are made. Currently, I have 30 attributes in an entity, making manual checks inefficient. Is there a method available to determine if an object has been modified, allowing me to create a new object accordingly?
asked
3 answers
0

HI Shreyansh , You can use object has changed Java action which will return true or false and make your decision accordingly .

answered
0

Hi

 

You can use Audit trail from marketplace.

 

https://marketplace.mendix.com/link/component/138

 

You can watch how to custumize: https://www.youtube.com/watch?v=RW81GyCK1eE

answered
0

The Community Commons module in the Marketplace has an action called objectHasChanged. This will return true if at least one member of the object has changed. You can call this action from a microflow, check the object, then create your new object if necessary.

 

https://docs.mendix.com/appstore/modules/community-commons-function-library/#orm

 

I hope this helps.

answered