Refresh agents in an ABL application
- Last Updated: May 18, 2026
- 2 minute read
- OpenEdge
- Version 12.2
- Documentation
refresh task while the PAS instance
is serving active requests or has stuck or busy sessions. refresh
unconditionally terminates all ABL sessions in the MS Agent immediately—any
in-progress requests could be cut without a graceful drain, which can result in data
loss, transaction rollbacks, or corrupted client state. This task is intended for
code deployment during a scheduled quiet period when no user activity is expected.
Before using refresh, run the trim tasks above to
gracefully terminate any active or lingering sessions.When using this API, the ABL sessions that are running in the application complete before terminating. New sessions are started on the next request to the agent. The refresh agents API allows new sessions to use the updated persistent procedures, static objects, or online schema changes, and start running sessions against the new code.
The following video introduces the refresh agents feature in PAS for OpenEdge:
Since this feature terminates all ABL sessions, it may help reduce memory growth due to application leaks. This may or may not include returning memory to the operating system, but it should at least free up memory currently used in the agents to be reused by new ABL sessions.
The refresh agents API provides the same operations as the Update PROPATH in a production instance with zero downtime feature, but does not require a change to the PROPATH or for Runtime Updates to be enabled.
- TCMAN Reference: Refresh agents in an ABL application (jmx refreshagents) in PAS for OpenEdge Administration Tools Reference
- OEJMX Queries: Refresh agent query and Refresh all agents query in PAS for OpenEdge Administration Tools Reference.
- REST API: Refresh all ABL sessions of one or all agents in PAS for OpenEdge Administration Tools Reference. Refresh agents is also implemented in the Swagger UI. For more information, see Use Swagger UI to explore management REST APIs