Get Agent Statistics

This block allows polling of the Realtime Reports (RTR) server to make decisions based upon current agent activity.

Properties

Values

Description

URL to RTRWeb

Web address

The location of the RTR server as a URL. For example, http://ais.yourcompany.com/rtrdll/

This can be specified as an IP address.

Caution

This should be only the path to the RTRWeb.dll file, and should not include the RTRWeb.dll filename.

RTR Timeout 

Seconds

Maximum time to wait for RTR to respond before continuing on to the next block. Default is 10 seconds.

Note

This property is a new feature of this block. When you apply the corresponding hot fix to existing scripts, the default value does not appear but is still applied.

Group Name

String

You can select the group name from a drop-down list of available groups in the tenant. This list is refreshed every time you select the block. If a new group is added while you are editing the block, to see the added group, select another block or select the Flow editor background and then reselect the Get Agent Statistics block.

If a group is removed from the tenant and the value is currently being used as the group name, the value remains as the selected value, until you manually change it. You are not restricted to the values provided in the drop down list, so you can use an expression as the selected value.

Agent state

Initialized

Get statistics on all agents who are currently initialized.

All

Get statistics on all agents who are logged on.

Available

Get statistics on all agents who are logged on and waiting for calls.

Available In Call

Get statistics on all agents who are in one or more calls but may have capacity for additional calls.

Released

Get statistics on all agents who are unavailable to take calls.

Released In Call

Get statistics on all agents who are in one or more calls but not available for additional calls.

Agent in call state

All

Get statistics on all agents who are in all the following states.

In Call

Get statistics on all agents who are in the In all state.

On Hold

Get statistics on all agents who are in the On Hold state.

Preview

Get statistics on all agents who are in the Preview state.

Ringing

Get statistics on all agents who are in the Ringing state.

Wrap Up

Get statistics on all agents who are in the Wrapup state.

Call Type

 

Caution

For valid combinations, see the following table.

All

For cumulative stats for all call types.

CallBack

For callback calls only.

Internet

For chat calls.

Message

For email or voicemail messages.

Multiple

For multichat agents.

Phone

For voice calls.

Result Variable

String

Variable name in which to store a returned value for further processing.

Returns -1 for timeout or failure.

See How to use variables.

The valid combinations of Agent state, Agent in call state, and Call type are as follows.

Agent state

Agent in call state

Call type

Initialized

N/A

N/A

Available

N/A (All)

N/A (All)

Ringing

N/A (All)

Available In Call

In Call

CallBack, Internet, Message, Multiple, Phone

On Hold

CallBack, Internet, Message, Multiple, Phone

Preview

Phone

Ringing

Multiple

Wrap Up

CallBack, Internet, Message, Multiple, Phone

Released

N/A (All)

N/A (All)

Released In Call

In Call

CallBack, Internet, Message, Multiple, Phone

On Hold

CallBack, Internet, Message, Multiple, Phone

Preview

Phone

Wrap Up

CallBack, Internet, Message, Multiple, Phone