The interceptor in the underlying core method of Mendix needs to be modified to add parameters.

0
I have a requirement when using Mendix: to monitor changes in global database tables. The solution I designed is to use the following methods for interception:   Core.getListenersRegistry().registerBeforeCommitListener(objects -> { Unfortunately, the parameters passed in this method lack IContext information. This prevents me from retrieving the information of the current operator from the IContext. I hope to optimize this method by adding the passing of the IContext information.
asked
1 answers
2

It may be worth looking at the Audit Trail and Advanced Audit Trail modules. These are used for tracking database changes in a Mendix application. They may do what you need, or they may be something you can extend to meet your needs.

 

https://docs.mendix.com/appstore/modules/advanced-audit-trail/

https://docs.mendix.com/appstore/modules/audit-trail/

 

I hope this helps.

answered