Manage Learn to apply best practices and optimize your operations.

Resource reservation in R5, or Group as owner workaround

How to clear up the error that occurs when a member of a group (as the owner of the Resource Reservation database) tries to accept or decline a reservation.

If you select a group as the owner of the Resource Reservation database, the reservation will be mailed to the group; however, when any member of the group attempts to accept or decline, an error is generated and the resource is never approved or declined. See Lotus (IBM) Technote 171109 for clarification. This error is rectified in R6. For R5 users, there is a workaround (see below).
In the Reservation database:

  1. Create as many roles as there are groups selected in the resource. The roles and group names should match exactly. Remember to give the roles to respective owner groups only.

  2. Create a role by name "approver" and give this role to all the owner groups.

  3. Add the following code to the Hide When formula for the accept and decline buttons:

     | @IsNotMember("["+@UpperCase
    (@Trim(ResourceOwner))+"]";
    @UpperCase(@UserRoles))
    

  4. Go to script library --> Common Library --> add in the following just above the line "NAMECompare = False":

    Dim Roles As Variant
    Dim x As String 
    x = |@IsMember("[Approve]";
    @UserRoles)|
    If Roles(0) = 1 Then 
     NAMECompare = True
     Exit Function 
    End If
    
Note: Whenever new groups are selected as owners, they should be mapped to their respective roles.

Do you have comments on this tip? Let us know.

Dig Deeper on Lotus Notes Domino Formula Language

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchContentManagement

Close