Refresh all agents in an ABL application

When to use:

Refresh Agents terminates all sessions within an ABL application, thereby refreshing the multi-session agent or agents so that changes to the application can be picked-up by the agent or agents. Supply the ABL application name to refresh all agents in the ABL application. For more information, see Refresh agents in an ABL application in Manage Progress Application Server (PAS) for OpenEdge.

Query:
# Tokens: APP_NAME
# Refresh Agents in an ABL application
{"O":"PASOE:type=OEManager,name=AgentManager","M":["refreshAgents","APP_NAME"]}
Note: For more information about using tokens, see OEJMX utility in Manage Progress Application Server (PAS) for OpenEdge.

Result:

Returns messaging about the actions performed on the agents:

{
  "refreshAgents": {
    "agents": [
      {
        "agentId": "LdS8phtPR0GIrhRrrSL3Xg",
        "pid": "7672",
        "sessions": [
          {
            "sessionId": 4,
            "terminateResult": "success"
          },
          {
            "sessionId": 7,
            "terminateResult": "success"
          }
        ]
      },
      {
        "agentId": "dz7DZReNRFCU5TIAxneVYA",
        "pid": "65681",
        "sessions": [
          {
            "sessionId": 4,
            "terminateResult": "success"
          },
          {
            "sessionId": 7,
            "terminateResult": "success"
          }
        ]
      }
    ]
  }
}