Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Select From Roster

The Action Script 'Select From Roster' loads a list of Accounts that are currently rostered into a variable for processing by subsequent steps such as 'For Each' - 'End For'.

You can use Select From Roster to route a call to a rostered agent. You would normally only use this to route calls to an Agent that is On Call rather than one that is currently logged into Noojee.

This Action Script is typically used with the 'For' and 'End For Each' Action script scripts which is designed to process a list of Accounts.

The returned list is ordered based on the order of the 'stack' of agents in the Roster screen. Agents at the bottom of the stack are returned first.

Example

pseudo code


Code Block
Select From Roster: Team='Support Team',  List Variable Name='engineers'
For: List Variable Name='engineers', Item Variable Name='engineer'
  Log ${engineer.UserName} has mobile ${engineer.MobileNumber}
End For


Team

The Roster Team for which  you want to get the list of currently rostered agents.

List Variable Name

The name of the variable to store the list of rostered Agents into.

Limit

Limits the number of Accounts that are saved into the list.

When you limit the number of Accounts, Accounts at the end of the list are remove (so Accounts at the visual top of the Roster stack).

Agent details

When iterating over the list of rostered agents, each agent entity exposes the following properties:

  • UserName
  • Extension
  • PhoneNumber
  • MobileNumber
  • Email



Refer to the java docs for additional information:

https://pabx.noojee.com.au/servicemanager/ui#!ApiJavaDocs