Approval Workflow: no approve and deny button when there are two if/else condition in the workflow.

  • Profile Image
    cherijohnston
    Asked on June 17, 2021 at 01:50 PM

    Hi there,


    I have set up a recruitment request form and set up the workflows with it. While testing it with one approver, it worked great. Now i have set up conditional workflows for two approvers and one approver is notified of the request, he cannot approve from the email and when he goes into jotform, there is no approve / deny button. I have checked my workflow and it is logical so not sure what i am missing. It also doesn't show any approvals pending


    Thanks,


    cheri



  • Profile Image
    Jed_C
    Answered on June 17, 2021 at 10:19 PM

    I was able to replicate it on my end. It doesn't show the approval button if the there are two if/else condition in the workflow.

    1623982589_60cc01fd15f60_JotForm Inbox -

    1623982596_60cc0204ea4cb_JotForm Inbox -

    1623982631_60cc02271e74c_Approval_ Form

    I have now escalated this to our L2 team for further investigation and we'll let you know in this ticket once we have an update.

  • Profile Image
    cherijohnston
    Answered on June 18, 2021 at 10:22 AM
    Thanks Jed.
    So maybe I should create one approval flow with a branch off for one if/else condition? Will that mean then that if an option is selected that is not true to the if/else condition, it will continue down the workflow? Thanks!
    ...
  • Profile Image
    Alexander_G
    Answered on June 18, 2021 at 02:35 PM

    Greetings, Cheri! 👋

    Thanks for your reply.


    The problem is that the Form Element has more than 2 connections. For now, Developers recommend having only one connection to the original Form Element.


    Yes, Cheri, you are right. The workaround here is to delete 2 if/else conditions and use one Conditional Branch element:


    Example:

    1624041302_60cce75607c4a_

    Please, try to use only one connection and reply if the issue persists.


    Sincerely,

    Alex

  • Profile Image
    servetkurt
    Answered on August 16, 2021 at 04:37 AM

    Hi cherijohnston,

    We have implemented the functionality to setup parallel approval flows as you have tried with if/else element in your workflow. So now without having to use conditional branch your flow should be working.


    Can you please test your flow and let us know if the issue still persists?