Fix For Aprroval Cycle Database

Approval Cycle template has a known bug that skips names when the requestor is
part of the approval list. The below script in the Identify User Event of the
subform ApprovalLogic will solve the problem.

Declare flag as variant.
flag = False

'Populate the array with all names with status = "None" and set CurrentApprover
to whatever number in the list it is
For n = 0 To ListMax
If ApprStatus(n) = "None" Then

'Changes required for when the originator is in the approval list
added the if statement n=0 etc
If flag = False And ApprName(n) <> CurrentUser Then
'change made for when requestor is in the approver list
CurrentApprover = n
Flag = True
End If
'change made for when there is double entries in the approver
list
If ApprName(n) = CurrentUser And Flag= False Then
'Changes to accomodate for the skipping of authorization
'Added variable flag, if false will get current user and then
change to true.
'This will stop the skipping of the list of authorization.
CurrentApprover = n
flag = True
End If

ApproverList(x) = ApprName(n)
x = x + 1
End If
Next
This was first published in November 2000

Dig deeper on Lotus Notes Domino Administration Tools

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-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 ...

SearchEnterpriseLinux

SearchDataCenter

SearchExchange

SearchContentManagement

Close