You are likely to use a custom microflow save, in which case you must explicitly save the associated data.
________________________________
Hi found out the issue. While saving a record I initially used to create the “SampleUser” object explicitly. So whenever adding a record associated with a logged in user I created an object of logged in user instead of retrieving it from DB and associating it with the record.
So retrieve logged in user from DB and associate with record solved the problem.
Thanks.