Refresh method: Agent class
Syntax
Refresh()
Description
Use the Refresh method to refresh the properties of the agent.
An agent on a queue is processing tasks as they are assigned to them. Use this method to see real-time statistics on how much load an agent has, or possibly before running any metrics.
If you're interested in how tasklists have changed, use the RefreshQTaskList method instead.
Parameters
None.
Returns
None.
Example
The following refreshes all the properties of the agent:
&MyAgent.Refresh();
Related Topics