Owner of a room cannot accept or decline reservation requests

Technote (troubleshooting)


Problem

In one reported case, owners of existing rooms were not able to accept or decline reservations sitting in the Waiting for Approvals view. You may also see, "Failed notifying owner of the request.", listed in the $CSTrack field.

Symptom

Reservation requests in the waiting for approvals view cannot be processed


Resolving the problem

In this particular instance, the problem appeared after placing a new copy of the resource database onto the server. It was also found that their were no problems reserving rooms that had no owner. The Lotus Quality team has not been able to reproduce this issue, but the problem appeared to relate to stale or possibly corrupt Site documents.

To resolve the problem, each site document was edited and saved to refresh the document. Once done, the RnRMgr task was restarted. After completing both steps, owners were able to accept and decline new reservation requests.

For reservations that were already stuck in the waiting for approvals view, there was an error listed in the $CSTrack field which was preventing them from processing, and the agent below was used to correct this value. The error stated, "Failed notifying owner of the request." After running the agent, the existing reservations could be processed.

Note: The agent below is provided as-is. The agent has been run successfully by IBM and IBM customers. However, customers should always test the code prior to implementing it into their production environment.


Dim session As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Dim view As NotesView
Dim cstrackItem As NotesItem

Set db = session.CurrentDatabase
Set view = db.GetView( "Reservations waiting for approval" )
Set doc = view.GetFirstDocument
While Not ( doc Is Nothing )
If Not doc.Hasitem("$CSTrack") Then
Set cstrackItem = New NotesItem ( doc, "$CSTrack", "")
cstrackItem.Issummary = True
Print doc.Universalid 'To see which docs made it

Call doc.Save(False, False)
End If
Set doc = view.GetNextDocument( doc )
Wend



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

IBM Notes
Calendaring and Scheduling

Software version:

8.5.1

Operating system(s):

Windows

Software edition:

All Editions

Reference #:

1451054

Modified date:

2013-09-24

Translate my page

Machine Translation

Content navigation