Get Agent State
The Get Agent State block checks an agent's current state. The agent state is stored in the variable $(agentState). For state Not Ready, the block also returns the Not Ready reason in the variable $(notReadyReason). For the Busy state, the block also returns the media type of the interaction the agent is busy with in the variable $(busyWithMediaType).
Conditional Exits
The Get Agent State block has the following conditional exits: No data or Logged Out.
No Data
The No data conditional exit is taken if no agent state is returned.
Logged Out
The Logged Out conditional exit is taken if the specified agent is logged out of the Agent Desktop application.
Settings
Agent's digital ID (extension)
Use the phone extension or login ID to identify the agent. This field supports Scenario Variables, including the $(user.phone) or $(user.loginId) variables.
For Task and Email scenarios, you may alternatively find the desired agent by their UUID. This can be found in the scenario variable $(user.id) of the active agent, or in the "Activities History" search results of the Bright Pattern Search Object.