• Rejection Flow

    By David Nichols 2 decades ago

    Hi, I have downloaded this to try and got the workflow working, which is great and so simple to use, but the rejection part doesn't seem to work for me ?



    There is a field on the form, it picks it up and places it into the ' wf_NextR ' field, but when it runs it stops on the line ' Forall SendtoName In Me.SendTo ' ?



    Any help would be gratefully received - sorry it might be something that I have done.

    • Fixed Issue:Reject

      By Mario_1 Gereci 2 decades ago

       

      Hi there,

      there are about 2 errors in that version:

      1) Reject notification is not send:

      Solution:

      In the Workflow library append the following line to

      Function reject(vStage As String)

      -> Call addRecipient(recipient)

      so that the end shows:

      'set the body text to rejected...

      Call addbody("This document has been rejected")

      Call addSubject("Request Rejected by: " & Me.owner)

      Call addRecipient(recipient)

      End Function

       

      2) Error opening document

      There is an error calculating the correct unique key if you are not using the american date format. Go to the the codebin library:

      Function CreateIDNum(uidoc As NotesUIDocument) As String

       

      change the following line and append the else block:

      If InStr(str_now,"/") Then

      delim = "/"

      Else

      delim = "."

      End If

       

      Mario