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' - 'End For'.
...
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.e.g.
Example
pseudo code
Code Block |
---|
Select From |
...
For
– step that does something with a rostered agent.
...
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:getUserName
- UserName
...
- Extension
...
- PhoneNumber
...
- MobileNumber
...
Refer to the java docs for additional information:
...