Hi Pragathi,
For that You need to create a History entity with Name, User Attributes and associate with the entity which you want the history and create the History object and associate with the Main Object and add the name of main object and user in the History object and commit. By using this you can find the history of user and Changes of Entity.
Else you can use Audit trail to track the changes in Entity:
http://https://docs.mendix.com/appstore/modules/audit-trail/
Hi pragathi,
Enable the changed by in system member or store the attribute Like Changed by(Store the value $currentuser/Name) in the edit flow
I would suggest using the Audit Trail module. It has been created by Mendix specifically for this purpose. It has platform support if you have any issues with it.
https://docs.mendix.com/appstore/modules/audit-trail/
If this is not suitable, there is also the Advanced Audit Trail module. This is a paid for product, but it is created by Mendix and also has platform support.
https://docs.mendix.com/appstore/modules/advanced-audit-trail/
I hope this helps. Good luck!