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

Does ProcessMaker Remember Between Runs? A Request Variable Belongs to One Request. The Next Request Starts With Only What It Is Handed.

Does ProcessMaker Remember Between Runs? A Request Variable Belongs to One Request. The Next Request Starts With Only What It Is Handed. No. In ProcessMaker, a variable created in one Request belongs to that Request alone. When the Request completes, its data stays stored with that Request's record, but a new Request of the same process starts with an empty data model, filled only by its start data, its Screens, its Scripts, and the platform's Magic Variables. Nothing carries forward on its own

Does ProcessMaker Remember Between Runs? A Request Variable Belongs to One Request. The Next Request Starts With Only What It Is Handed.

No. In ProcessMaker, a variable created in one Request belongs to that Request alone. When the Request completes, its data stays stored with that Request's record, but a new Request of the same process starts with an empty data model, filled only by its start data, its Screens, its Scripts, and the platform's Magic Variables. Nothing carries forward on its own.

What does a ProcessMaker Request actually remember while it runs?

Inside one Request, memory is strong. Every value entered on a Screen, set by a Script, returned by a Data Connector, or injected as a Magic Variable becomes part of that Request's data: a single schema-less JSON model that grows as the Request routes from task to task. Any later Screen in the same Request can display an earlier value by referencing its variable name, a gateway can route on it, and a Script can read and replace it.

ProcessMaker's own documentation states the scope plainly: variables are often unique to each Request. The data model is built per Request, from that Request's own Screens and Scripts. Two Requests of the same process, running side by side, hold two separate data models. Neither can see the other's values.

What happens to Request data when the Request ends?

The data does not vanish. A completed Request keeps its full JSON data model, and a user with the right permission can open the Request summary and inspect it on the Data tab. PMQL can search across Requests, and the API can read a finished Request's variables.

That is an archive, not a handoff. The next Request never opens the previous one. It does not check what the last run decided, which records it already processed, or what an AI Script inside it concluded. Reading a prior Request's data into a live one means building that step yourself, Request by Request: a Script or Data Connector that queries the API for the earlier Request, extracts the fields worth keeping, and writes them into the new Request's variables, on every start, in every process that needs it.

What about Magic Variables and Environment Variables?

Magic Variables look like shared memory and are not. Values such as _user, _request, and _task are injected into every Request, but they describe the current Request: who is acting, which process, which task. They are regenerated per Request and hold nothing from the last one.

Environment Variables are shared across processes, but they are configuration, not memory: secure placeholders for credentials and endpoints, read by Scripts at run time. They are set deliberately by an administrator and are not a place where a run leaves what it learned for the next run.

Can a sub-process pass data between Requests?

Within one case, yes, by explicit mapping. When a process calls a sub-process, variables can be passed from the master Request to the sub-process Request, and a synchronous sub-process can pass variables back when it finishes. An asynchronous sub-process passes nothing back. Requests triggered inside the same case also share the case number, which groups them for reporting.

Notice the boundary: all of that movement happens inside one case, between Requests a designer wired together in advance, carrying fields the designer named in advance. It does nothing for the next case that starts tomorrow, and it carries only the mapped fields, never the reasoning an AI step produced while deciding.

How do you give a ProcessMaker process memory between runs?

You add a memory step outside the Request data model, in four parts:

  1. At the start of the process, add a Script or Data Connector step that retrieves what previous runs saved: prior decisions, processed record IDs, open follow-ups.
  2. Write those values into Request variables so Screens, gateways, and AI steps in this Request can use them.
  3. At the end of the process, add a matching step that saves this run's outcome back to the same external store.
  4. Repeat the pair in every process that should share the same past, and keep the store keyed by the subject the memory is about, such as a customer or a record set, not by Request ID.

Steps 1 to 3 are straightforward. Step 4 is where hand-built versions get expensive: every process needs its own read and write logic, and the store holds whatever fields each Script was told to save, which rarely includes the full context behind a decision.

Where does Vilix AI fit in a ProcessMaker workflow?

Vilix AI is a shared memory layer that lives outside any single process. It is cloud-hosted, so there is no database or vector store to provision, and it connects over MCP to the AI tools an operator already uses, including Claude, Codex, Cursor, OpenClaw, and Hermes. A headless agent or scripted step can connect with an API key as a Bearer header to the Vilix AI MCP endpoint instead.

What it stores is the full exchange, not just extracted fields: what a run was asked, what it found, and what it decided, with retrieval that combines semantic search with keyword matching, so an exact ID or policy name is found literally and a paraphrased question still finds the right memory. A new Request's AI step can load that context at the start and save its outcome at the end, so the next Request, and the next process, starts briefed. Memory can be viewed and deleted from the dashboard, and exported in a portable format at any time. The Free plan is limited and free to keep, and Pro starts with a 7-day free trial with no credit card.

Frequently asked questions

Does ProcessMaker remember between runs?

No. Request variables and the Request data model are scoped to a single Request. A new Request starts empty apart from its start data, Magic Variables, and whatever its own Screens and Scripts set.

Where does ProcessMaker store Request data after a Request completes?

With the completed Request. Users with the Requests: Edit Request Data permission can view the full JSON data model on the Data tab of the Request summary, and the data can be queried with PMQL or read through the API.

Can two ProcessMaker Requests share variables?

Not directly. Separate Requests hold separate data models. Data moves between Requests only inside a case, through sub-process variable mapping, or through a step you build that reads one Request and writes into another.

What is the difference between a Request variable and an Environment Variable?

A Request variable holds data for one Request and is set by Screens, Scripts, and connectors as the Request runs. An Environment Variable is a secure, organization-wide placeholder for sensitive configuration such as credentials, read by Scripts at run time.

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 Codefresh Remember Between Runs? The Shared Volume Is Cached for the Next Build. The Next Build Still Starts With Only Its Trigger and Variables.

Does Codefresh Remember Between Runs? The Shared Volume Is Cached for the Next Build. The Next Build Still Starts With Only Its Trigger and Variables. Codefresh remembers more between builds than most CI systems do, because its shared volume survives. A file a step copies into that volume is still there when the same pipeline runs again, and its Docker caches make the next build start warm instead of cold. What the next build does not inherit is the last build's working context: the conclusions

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