Export to Excel

0
I am working on a flow in Mendix where I use two lists: one empty list and another retrieved from the database. After looping, I commit the empty list. The issue is that when the database has 13 records, the data grid shows 26 records after commit. Why does committing the empty list cause duplication, and how can I resolve this so only the actual database records are shown?
asked
1 answers
0

Hi Hariharan,

 

Is there an association between the objects in the empty list and the list that you retrieve from the database? If so, it might be caused by autocommits. Once you associate two entities and you try to commit the underlying object, it will look for the associated entity and autocommit it if it doesn't exist yet.

 

If that's not the issue, then I'm gonna need more details. Please provide some additional info and maybe screenshots of the microflow that you're using to commit the list. If you can, please provide some more info on the entities as well.

answered