ISWaitListFilter.Status

Description

This filter property is used to load the collection of wait lists with the specified status.

0 Ignored
1 Opened
2 Closed

Syntax

object.Status

Part Attribute Type Description
object Required
The object always implements the ISWaitListFilter interface

Return Value

int

Example

Display the number of the case wait lists loaded on the basis of the selected filter and the reasons of the wait list entries.

Dim aFilter
Dim aCaseWaitLists 
Dim aCaseWaitList
Dim aMessage

Set aFilter = Profile.CreateCaseWaitListFilter
aFilter.Status = 2 'Closed
set aCaseWaitLists = Profile.LoadCaseWaitLists(aFilter) 

aMessage = "The number of the case wait lists with the status (" &_
  aFilter.Status  & ") is " & aCaseWaitLists.Count
for i = 0 to aCaseWaitLists.Count - 1
  set aCaseWaitList = aCaseWaitLists.Item(i)
  aMessage = aMessage & vbNewLine & (i + 1) & ") " & _
    "The reason of the wait list entry is " & aCaseWaitList.Reason
next      

Profile.MsgBox(aMessage)
Note:

In Profile Client v8 on User Interface Status cannot be found, but Wait Lists can be found in Organisation > Work Centre > Wait List.

Version information

Added in v7.8.0