Free forever, no credit card.Get Started for Free →
← All posts
November 26, 2026 · 6 min read

Does Bonita Remember Between Runs? A Case Keeps Its Business Data. The Next Case Starts With Only the References It Is Handed.

Does Bonita Remember Between Runs? A Case Keeps Its Business Data. The Next Case Starts With Only the References It Is Handed. A Bonita process runs every morning, opens a case for each new vendor onboarding request, and uses an AI step to summarize the documents attached to that case. On day two, a second request arrives from the same vendor. What does the new case know about the first one? Only what was written into business data the new case is explicitly pointed at. Bonita is careful about

Does Bonita Remember Between Runs? A Case Keeps Its Business Data. The Next Case Starts With Only the References It Is Handed.

A Bonita process runs every morning, opens a case for each new vendor onboarding request, and uses an AI step to summarize the documents attached to that case. On day two, a second request arrives from the same vendor. What does the new case know about the first one? Only what was written into business data the new case is explicitly pointed at. Bonita is careful about data inside a case, and it archives finished cases for review. Between cases, nothing is handed forward on its own.

A case is one process instance, and it starts from its inputs

Bonita calls a single execution of a process a case. When a case starts, it is populated by its start contract: the inputs validated at the process entry point and mapped into the case's data. A timer can fire the process on a schedule, a user can start it from a form, or another system can call the API, and in every variant the result is the same shape: a new case, holding the data it was handed at instantiation and whatever its own tasks add along the way.

That scoping is the central fact. Values produced inside Monday's case belong to Monday's case. Tuesday's case is a separate instance with its own lifecycle, its own tasks, and its own data. There is no running total at the process level, no case-level notebook that each new instance reads before it begins. The process definition is shared. The data inside each case is partitioned by case.

Business data is the one durable layer, and it works by reference

Bonita's answer to persistence is the Business Data Model, the BDM. Business objects defined in the BDM are persisted in a relational database managed by the Bonita Engine, and there is generally one BDM shared by all processes and applications in a tenant. Each business object carries a persistenceId and a persistenceVersion, so it can be retrieved, queried through named queries, and updated across cases and even across different processes.

Inside a process, a business variable does not hold the object itself. It holds a reference to a business data object. When a case is instantiated, its business variables are set to specific objects, either created new for that case or loaded from the database by query. That distinction decides what a scheduled run remembers. If Tuesday's case is handed a reference to the vendor object that Monday's case updated, it sees the current state of that vendor. If Tuesday's case creates a fresh object, or is never pointed at the existing one, the earlier work might as well not exist.

Business data is also deliberately structured. It stores the fields the model defines: names, statuses, amounts, dates. It is the right home for the outcome of a step. It is not a home for the reasoning that produced the outcome, because reasoning does not fit a typed attribute unless someone modeled a field for it in advance.

Process variables are temporary by design

Not everything in a case is business data. Bonita processes also use process variables for temporary data during execution: intermediate values, routing flags, connector outputs waiting to be mapped somewhere. Their job is to carry a value from one step of the case to the next, inside that case. They are not the persisted record of the process, and when the case ends, the working values end with it.

This is where AI output quietly disappears. An AI step in a Bonita process typically runs as a connector or a service task. It reads case data, produces a summary, a classification, or a recommendation, and that output lands in a variable so the next task can use it. Within the case, the flow feels continuous. Across cases, the variable layer is gone. Unless the output was deliberately written into a business object attribute, the next scheduled case receives none of it: not the summary, not the classification, and not the explanation behind either.

The archive is a record for people, not an input for the next case

Bonita does not delete finished work. Completed process instances are archived, and the engine API can retrieve archived tasks and evaluate expressions against a completed instance. Comments added to a case stay attached to that case.

But the archive is read by humans and reports, not by the next case. No step in a running case opens the archive of its predecessor to ask what it concluded. A scheduled process that runs an AI step every night produces, night after night, a growing archive of finished reasoning and a new case that starts with only its contract inputs and the business data references it was handed. The record of the past and the working memory of the present are two different systems, and only one of them feeds the next run.

The gap is where scheduled AI work loses its thread

Put the layers together and the pattern is clear. Business data persists, but only as typed fields on objects a case must be explicitly pointed at. Process variables carry values inside one case and end with it. The archive preserves completed cases for review and feeds nothing forward. So an automation that leans on AI inside Bonita keeps its records straight and still re-briefs its AI step from zero on every run: the same vendor gets summarized fresh, the same exception gets explained fresh, and the correction a reviewer made inside yesterday's case never reaches today's.

That is the gap a dedicated memory layer fills. Vilix AI is a cloud-hosted memory layer that Bonita connectors and AI steps can reach over MCP, the open protocol for connecting AI tools to external context. There is nothing to install or host: the memory lives in the cloud, and every tool that connects to it reads and writes the same store. An AI step that finishes a case can save what it concluded, and the next case, the next process, or a different tool entirely can retrieve it at the start of its run.

Two properties matter for scheduled automation. First, Vilix AI stores the full conversation history, not just extracted facts, so the next run inherits the reasoning, the corrections, and the edge cases, not only the final field values. Second, the memory is shared across tools: the context gathered inside a Bonita case is available to the other agents and assistants on the same account, because they all connect to the same layer. Bonita keeps the case record. Vilix AI keeps the thread between cases.

Getting started is deliberately light. The free plan is free forever, and the Pro plan comes with a 7-day trial that needs no card. Everything saved can be exported or deleted at any time, so the memory stays under the operator's control. Your processes already know how to run on a schedule. Give the AI steps inside them one memory, and each new case can start from what the last one learned.

Get Started for Free

Persistent memory across ChatGPT, Claude, and the AI tools you already use in Vilix AI.

Get Started for Free

Free forever, no credit card.

Keep reading
Does GoCD Remember Between Runs? An Artifact Carries the Binary Forward. The Next Pipeline Instance Starts With Only Its Materials.

Does GoCD Remember Between Runs? An Artifact Carries the Binary Forward. The Next Pipeline Instance Starts With Only Its Materials. GoCD remembers a great deal about delivery, and almost nothing about reasoning. Every pipeline instance is recorded, every artifact a job publishes is stored, and a downstream pipeline can fetch exactly the artifact its ancestor produced. What no instance inherits is the working context behind the last run: why a stage was retried, what an operator noticed in the l

What Are the Alternatives to Google InMemory Sessions for the Anthropic SDK?

What Are the Alternatives to Google InMemory Sessions for the Anthropic SDK? The alternatives to Google InMemory sessions for the Anthropic SDK are a database-backed session store you run yourself, a managed session service from a cloud platform, or a hosted memory layer your agent connects to over MCP. InMemory sessions keep state in process memory only, so every restart, redeploy, or scale-out wipes what your agent knew. Any of the three alternatives fixes that by writing session state and co

Does Spinnaker Remember Between Runs? An Artifact Can Carry Over From the Prior Execution. The Next Execution Starts With Only Its Trigger.

Does Spinnaker Remember Between Runs? An Artifact Can Carry Over From the Prior Execution. The Next Execution Starts With Only Its Trigger. A Spinnaker pipeline that deploys the same service every day can look like it knows the service by heart. The right image arrives, the right manifest renders, and the execution list shows every earlier deployment in order. Underneath, each execution is its own record with its own context, built from its trigger and its stages. What one execution learned sta