Mendix Object lifetime

0
What is the lifetime of the an object of an entity ?  I mean if I do not commit the object in database and just create it and return it via microflow when will that object get destroyed if I don’t destroy it explicitly ?
asked
1 answers
1

Hi Sameer,

The Mendix object will be removed once its not used anymore. So if you were to move to a page that doesnt use it, or your microflow transaction ends. 

Here is the documentation on transient objects and garabage collection in Mx7.

https://docs.mendix.com/refguide/transient-objects-garbage-collecting

answered