If/else Condition is not working properly

  • Missile_Security
    Asked on June 28, 2022 at 3:19 AM

    Why does a hundred's amount still go to 50,000 above condition?

    1656400496 62baaa70db69d  Screenshot 10

    here is the approval workflow

    1656400780 62baab8cd838d  Screenshot 21

  • Camila JotForm Support
    Replied on June 28, 2022 at 9:21 AM

    Hello Missile_Security,

    Thanks for reaching out to Jotform Support. I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.

    We really appreciate your patience and understanding.  

  • Camila JotForm Support
    Replied on June 28, 2022 at 3:50 PM

    Hello Missile,

    Thanks for reaching out to Jotform Support. When I cloned and tested your form, everything worked the way it was supposed to. Take a look at the screenshot below to see my results:

    Approval Flow:

    1656445741 62bb5b2d42317  Screenshot 10

    For below 49,999.00:

    1656445691 62bb5afb023bb  Screenshot 21

    For above 49.999.00:

    1656445718 62bb5b16c1d71  Screenshot 32

    Can you please share with us the full screenshot of your approval workflow for us to check it further? Please note that I have done clearing your form cache in case this might be causing the issue.

    Give it a try and reach out again if you have any other questions.


  • Missile_Security
    Replied on June 28, 2022 at 8:21 PM

    Thanks, Camila. Yes, an amount greater than a thousand works just fine. but amounts below 1 thousand still go to Greater than 49,999.99 branch.


    1656462074 62bb9afa49120  Screenshot 10

  • Jeric JotForm Support
    Replied on June 29, 2022 at 12:52 AM

    Hello Missile_Security,

    Thanks for getting back to us. I’ll need a bit of time to look into this. I’ll get back to you as soon as I can. We will appreciate your patience.


  • Jeric JotForm Support
    Replied on June 29, 2022 at 7:13 AM

    Hello Missile_Security,

    Thanks for your patience. Since I don't have access to the approval workflow you've created, I created a similar workflow on my end and when I test it, it's working as intended. Let's try this out. So instead of using the Greater Than statement, could you change it to less than and then change the True and False value on the branch so the principle is still them. Let me point that in the screenshot:

    1656501165 62bc33ada1a9b Screen Shot 202 Screenshot 10

    Give it a try and let us know if you need more help.


  • Missile_Security
    Replied on June 29, 2022 at 11:57 PM

    How do i share my approval workflow ?

  • Jeric JotForm Support
    Replied on June 30, 2022 at 1:31 AM

    Hello Missile_Security,

    Thanks for getting back to us. I see the screenshot of your approval workflow and based on how I see it, it should be working as intended. Since it's not working as intended, I have offered the solution above. Have you tried it? If not, please try the solution and let us know if you need more help.