Does Mendix Remember Between Runs? A Scheduled Event Discards Its Objects. Only a Committed Entity Survives.
Does Mendix Remember Between Runs? A Scheduled Event Discards Its Objects. Only a Committed Entity Survives. A Mendix scheduled event fires at 02:00, runs its microflow, and finishes cleanly. At 02:05 it fires again. What does the second run know about the first one? The honest answer is: only what the first run deliberately committed to the database. Everything it merely held, computed, or figured out along the way is gone. That split, between what Mendix stores and what a run actually learns,
Does Mendix Remember Between Runs? A Scheduled Event Discards Its Objects. Only a Committed Entity Survives.
A Mendix scheduled event fires at 02:00, runs its microflow, and finishes cleanly. At 02:05 it fires again. What does the second run know about the first one? The honest answer is: only what the first run deliberately committed to the database. Everything it merely held, computed, or figured out along the way is gone. That split, between what Mendix stores and what a run actually learns, is where scheduled automations quietly lose their context.
What a scheduled event actually runs
A scheduled event tells the Mendix runtime to execute one microflow at a set interval: every few minutes, hourly, daily, weekly, monthly, or yearly. Since Mendix 9.12, scheduled events run through the task queue with an at-least-once guarantee, executed by whichever cluster node picks up the task. The microflow takes no parameters and runs with all rights. It starts from the model, the schedule, and whatever it can retrieve from the database. Nothing else is handed to it. There is no input slot where the previous execution can leave a note for the next one.
Non-persistable objects die with the execution
Microflows work heavily with non-persistable objects: temporary structures that exist only in memory while logic runs. Mendix documents the lifecycle plainly. A non-persistable object is temporary and only exists in memory, and objects created outside the context of a request, such as during a scheduled event execution, are automatically discarded when the scheduled event has finished. So every scratch object, intermediate result, and working variable a run builds for itself is thrown away at the finish line, by design. The next run rebuilds its working state from zero.
Persistable entities are the one real memory
The exception is the persistable entity. When a microflow creates or changes a persistable object and commits it, that data lands in the Mendix database and stays there for any later run to retrieve. This is the standard pattern for carrying state in Mendix: a checkpoint entity holding a last-processed timestamp, a status flag, a counter. Two limits matter. First, an uncommitted change to a persistable object behaves like a non-persistable one, in memory only, gone if the run ends before the commit. Second, an entity stores values, not understanding. A row can hold the timestamp of the last invoice batch a nightly job processed. It cannot hold why three invoices were skipped, what made them suspicious, or what the job decided to try differently tonight. Someone has to model that reasoning as attributes, in advance, or it is never kept.
The run log remembers that a run happened, nothing more
Each execution also leaves a trace: the platform records the event's name, start time, end time, and a status of running, completed, error, or stopped. That is an operations log, useful for proving a job ran and for hunting errors in a time window. It is not memory a run can use. The next execution cannot read the log to learn what the last one concluded, and the log carries no outputs, no decisions, and no content. The platform remembers that your automation worked last night. It does not remember what your automation learned last night.
Constants sit at the other extreme: values defined in the model and set per environment. They are identical for every run, which makes them configuration, not memory. A constant can tell every run where an API lives. It can never tell a run what happened yesterday.
Where this leaves an AI step inside the flow
Now place an AI step inside that microflow: a call out to a model to classify a ticket, summarize a document, or decide the next action, with the result landing in variables and objects while the flow continues. The answer the model gives is only as durable as the object holding it. Keep it in a non-persistable object and it is discarded when the event finishes. Commit a trimmed version to an entity and the next run gets the value, stripped of the conversation that produced it: the prompt, the context the model was given, the alternatives it weighed. Run the same flow again tomorrow and the model starts from the same blank prompt, because nothing in the schedule, the entity, or the log carries the exchange itself. Multiply that across every app and every scheduled job, and each one becomes its own small island of partial state, re-briefed by hand through whatever attributes someone remembered to model.
The missing layer is memory the run can actually use
The fix is to give the agent one memory that lives outside any single run and outside any single app. That is what Vilix AI provides. It is cloud-hosted, so there is zero infrastructure to deploy or maintain next to your Mendix apps. The same memory is reachable from every tool over MCP, so a scheduled flow, a chatbot, and a coding assistant all read and write one shared state instead of separate checkpoints. It keeps full conversation history, not just extracted facts, so the next run inherits what was said and decided, not a lone timestamp. You can export or delete your data at any time, the free plan is free forever, and the Pro trial runs 7 days with no card required.
The short answer
Does Mendix remember between runs? The database does, for the values you model and commit. The run itself does not: its objects are discarded, its log is a timestamp and a status, and its reasoning evaporates. If your scheduled agents should start each run knowing what the last run learned, that memory has to live somewhere built for it. Give them one memory, and the 02:05 run finally knows what the 02:00 run figured out.