How to delay the second approval email triggered after the edit submission?

  • Profile Image
    Helen
    Asked on June 16, 2021 at 12:59 AM
    how to delay the second approval email triggered after the edit submission/ add more information email to the responder. Ideally this needs to be delayed until after the responder has updated the form. Without a loopback option to restart the approval how can I achieve this?
  • Profile Image
    Yau_C
    Answered on June 16, 2021 at 07:10 AM

    Please elaborate on the 'loopback option'.

    Are you referring to the following path highlighted in pink?

    1623841791_60c9dbff473bd_

    Also there is no 'after the edit submission/ add more information email' in your approval flow diagram.

    Could you elaborate on this further please?

    Looking forward to your reply.

  • Profile Image
    Helen 
    Answered on June 16, 2021 at 07:19 AM

    Hi Yau,

    From the More Information Needed outcome it triggers an email to the responder (titled More Info Email) which then links to another approval task.

    When I tested this workflow as soon as the More Info Email was sent I also received the Approval task email (2nd approval in the workflow). It didn't wait until the submission was edited before sending this.

    So in real world usage the approver would get the second approval before the submission was edited which doesn't solve the issue.

    The loopback feature I mentioned has been raised separately as a feature request. To summarise, once a submission has been edited it should be possible to loop the workflow (from the More Info Email) to start the approval again once the submission has been edited.

    I need to find a way to delay sending the 2nd approval email until after the submission has been edited. Any ideas?

  • Profile Image
    Yau_C
    Answered on June 16, 2021 at 10:39 AM

    You both are correct.

    I did replicate the bug you described.

    1623853587_60ca0a13ccafb_

    Submission 3 moved straight to 'Approved' without waiting for editing nor 2nd approval from me.

    However, during my second test, which is 'Submission 4', I was not able to replicate the bug. Here is the result of submission 4:

    After clicking 'More information needed':

    1623853351_60ca0927ac059_

    We can clearly see 'Action required' and 'in progress', not 'approved'.

    It asked me for edit privilege.

    Send request to myself to grant me the edit privilege:

    1623853136_60ca0850aa870_

    Directed to my account to grant access:

    1623852976_60ca07b0d36f3_

    Received email to edit the form:

    1623853060_60ca08044c1d6_

    Edited and resent the form:

    1623853800_60ca0ae8acc3e_

    I received the email in my Pending Approvals:

    1623854089_60ca0c0982649_

    This is the second approval so to speak.

    After clicking 'Approve', I receive the confirmation email and status got updated to 'Approved':

    1623854253_60ca0cad6fa37_

    But, it definitely worth looking into by our backend team as I was able to replicate this bug at one stage.

    I will escalate this to our backend team to further investigate.

    Our apologies for the inconvenience caused.