ISWaitListFilter.WaitMoreThan

Description

This filter property is used to load the number of the days elapsed from the date the service was added to the list to today or the date the service was taken off the wait list.

Syntax

object.WaitMoreThan

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 number of the days elapsed from the date the service was added to the list to today.

Dim aFilter
Dim aCaseWaitList
Dim aCaseWaitLists
Dim aMessage

Set aFilter = Profile.CreateCaseWaitListFilter
aFilter.WaitMoreThan = 191
set aCaseWaitLists = Profile.LoadCaseWaitLists(aFilter) 

aMessage = "The number of the wait lists with the duraration longer than " &_
  aFilter.WaitMoreThan & " days is " & aCaseWaitLists.Count
for i = 0 to aCaseWaitLists.Count - 1
  set aCaseWaitList = aCaseWaitLists.Item(i)
  aMessage = aMessage & vbNewLine & (i + 1) & ") " & aCaseWaitList.WaitDays &_
    " days"
next      

Profile.MsgBox(aMessage)  
Note:

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

Version information

Added in v7.8.0