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

Does Pega Remember Between Runs?

Does Pega Remember Between Runs? Yes, but only inside a case. A Pega case is persisted, so the data written to it, its status, and its history survive from one step, one agent, and one day to the next. Everything outside a case starts fresh: the Clipboard exists only while a request is being processed, a background agent activity carries nothing from its last execution, and an AI call gets only the context the case hands it at that moment. That answer surprises people in both directions. Pega

Does Pega Remember Between Runs?

Yes, but only inside a case. A Pega case is persisted, so the data written to it, its status, and its history survive from one step, one agent, and one day to the next. Everything outside a case starts fresh: the Clipboard exists only while a request is being processed, a background agent activity carries nothing from its last execution, and an AI call gets only the context the case hands it at that moment.

That answer surprises people in both directions. Pega remembers far more than a stateless workflow tool, because the case was designed as a lasting record. It also remembers less than operators expect, because the memory belongs to one case at a time, in fields someone designed in advance.

What does a Pega case keep between runs?

A case is the persistent unit of work in Pega, and it holds real memory. When a case is saved, its data is persisted in the database: the property values on the case, its current stage and status, and its assignments. A case can stay open for days, months, or years, and every step that opens it works from the same stored state.

Pega practitioners describe this directly: the case is the persistent context store. What one agent writes into the case is available to a later agent without forwarding logic, because the case is the shared state every step reads and writes. A human can open the same case, act on it, and hand it back, and the next automated step sees the result.

This is genuine cross-run memory, with one condition: the memory is exactly the case data model. A fact survives only if a step wrote it to a property on the case.

What does the Clipboard keep while Pega runs?

While a case is being processed, its data lives in memory on pages in a structure Pega calls the Clipboard. The Clipboard holds the case page (pyWorkPage), system pages, and the temporary pages an activity, decision, or AI step builds as it works: values it looked up, text it assembled, results it has not saved yet.

The Clipboard is working memory for one requestor session, not a store. When processing ends, the pages that were never saved to the case are gone. A value an AI step derived and left on a temporary page, or a conclusion it reached mid-activity, is not there when the next step or the next day's processing opens the case. Only what was committed to the case exists.

What does a scheduled Pega agent remember about its last run?

On its own, nothing. A Pega agent is a background process that runs an activity on a schedule or against a queue. Pega's own documentation describes agents as autonomous and asynchronous: each activity execution runs individually, on its own schedule, and a second execution can start before an earlier one finishes.

So a nightly agent that processes queued items wakes up with the queue item and whatever case or data it opens. It does not know what it decided last night, which items it skipped, or what it told a customer, unless that outcome was written to a case or a data record it reads this time. The schedule changes when the agent runs. It does not give the agent a memory of running.

What does case history remember, and who is it for?

Pega records an append-only history for each case: which steps ran, who or what acted, when assignments moved, and the audit notes built into the flow. History processing is automatic for cases, and history details cannot be edited after the fact. A person opens the History tab to reconstruct what happened, and auditors rely on it for exactly that.

History is a record for people, not context for the next run. A flow step does not read last week's history entries and reason from them, and an AI step is not handed the audit trail as context. The history proves what happened; it does not tell the next run what to do about it.

The same gap shows up with AI steps. Pega's GenAI Connect rule provides no out-of-the-box tracing or auditing of its own, so teams add audit fields themselves, and a rerun overwrites a fixed audit field unless the team builds an append-only record by hand.

How do Pega GenAI agents remember a conversation?

A GenAI agent execution in Pega generates its own conversation record, an instance of a conversation class that acts as the memory for that agent: it stores the conversation history and provides the context for multi-turn interactions, and it links back to the case that triggered it. Inside that conversation, the agent can refer back to earlier turns.

That memory is scoped to the conversation. A different case, a different agent, or a different channel starts from its own record. The conversation case remembers what was said to that agent; it is not a shared memory that every agent and every tool in the operation reads.

How do operators carry state between Pega runs today?

Working patterns all move state into something a later run can open:

  1. Decide what the next run genuinely needs: the current step for each open case, the last decision and its outcome value, the date of the last notice sent.
  2. Map agent outputs to typed case properties, not free text, so later steps work from values instead of parsing prose.
  3. Give each AI step an explicit place to write its result on the case before the step ends, because anything left only on the Clipboard is lost.
  4. Build an append-only record when every rerun's output matters, instead of a single field each run overwrites.
  5. Rebuild the rest at the start of each run by opening the case and reading its current state.

These patterns work, and they share a shape: memory lives inside one case, inside Pega, in fields the architect designed before the run started.

What kind of memory does an AI step in Pega actually need?

The case holds structured state well. What it was not designed to hold is reasoning across runs: that this customer already explained the situation twice, that a reviewer corrected yesterday's summary, that the decision in one case changes how a similar case should be handled today, or that the team changed its policy in a planning session held in a different tool. That context was never a property, so no step wrote it, so no later run can read it.

How does Vilix AI give a Pega operation a memory outside the case?

Vilix AI is a cloud-hosted memory layer that sits outside any one platform, so there is no infrastructure to run alongside your Pega deployment. A scheduled agent or a headless AI step connects over MCP with an API key as a Bearer header to https://api.vilix.ai/mcp. At the start of a run it calls get_context and loads the relevant saved context: prior decisions, corrections, and the full conversation history behind them. At the end of the run it calls save_turn and writes back what it did and decided.

Because the memory belongs to your Vilix AI account rather than to one case, the same context is available to every connected tool: the agent working a Pega case, a session in Claude or Codex where the process was planned, and the next automation you build in n8n or Make. Retrieval uses semantic and keyword search together, so it finds what you meant and still matches exact strings such as case IDs and policy names. Correct something once and the newest version is what every tool retrieves, since retrieval is recency-aware and the last write wins. You can list, edit, or delete memories, export everything in a portable format, or wipe the account instantly. There is a free plan, with a 7-day free trial of Pro and no credit card needed.

Frequently asked questions

Does a Pega case persist between runs?

Yes. A saved case is persisted in the database with its data, stage, and status, and it stays available for as long as it remains open. A temporary case is the exception: it is not persisted until a Persist case step is reached.

Does the Pega Clipboard persist between runs?

No. The Clipboard is the in-memory structure that holds pages while a request is processed. Values that are never saved to a case or a data record end with that processing.

Can a Pega flow read its own case history before deciding?

A person can read case history on the History tab, and history is append-only. A flow or AI step is not automatically given past history entries as context for its next decision; the step works from the case data it opens.

Does a Pega GenAI agent remember earlier conversations?

An agent execution keeps its conversation in its own conversation record, which provides context for multi-turn interactions with that agent. That memory is scoped to that conversation and does not automatically become context for other cases, agents, or tools.

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 Temporal Remember Between Runs? An Event History Replays One Execution Perfectly. The Next Execution Starts With Only Its Input.

Does Temporal Remember Between Runs? An Event History Replays One Execution Perfectly. The Next Execution Starts With Only Its Input. Ask whether Temporal remembers between runs and you get two opposite answers, both correct. Inside one workflow execution, Temporal remembers everything with a fidelity most platforms never approach: crash the worker, redeploy the fleet, wait a month, and the execution resumes at the exact line it left. Between executions, it remembers nothing at all. A workflow

Does Appian Remember Between Runs? A Process Variable Lives for One Instance. The Next Instance Starts Clean.

Does Appian Remember Between Runs? A Process Variable Lives for One Instance. The Next Instance Starts Clean. Ask whether Appian remembers between runs and the honest answer depends on which layer you mean. A process variable remembers a great deal, but only inside one process instance: it carries data from node to node for as long as that instance lives. A record remembers business data durably, because records are built to be the system of record. An activity class parameter remembers nothing

Does Kissflow Remember Between Runs? The Scheduler Remembers the Clock. The Dataset Remembers Rows. The Run Remembers Nothing.

Does Kissflow Remember Between Runs? The Scheduler Remembers the Clock. The Dataset Remembers Rows. The Run Remembers Nothing. Ask whether Kissflow remembers between runs and the answer splits by surface. The Scheduler by Kissflow connector remembers timing with real precision: which days, what hour, when to stop. A Kissflow dataset remembers rows, because a dataset is a table built to be written and read back. An individual process item remembers its own fields and its own journey through its