Workflow: approval comment isn't included in the notification email

  • fazzapp
    Asked on February 3, 2025 at 7:13 AM

    Hello guys,

    Approver comment is not being sent in the "rejected" email of the approval workflow, along with the other data in a specific branch of the conditional branch.

    The branch named "Teste” works fine, the approver comment is sent in the email, but the branch named "Fortaleza" does not. I am using the exact same variable: {14_comment}

    Workflow: approval comment isnt included in the notification email Image 1 Screenshot 40

    

    Workflow: approval comment isnt included in the notification email Image 2 Screenshot 51

    When we check the "View Details" in the Submissions Box, we can see that the comment is there. Image below.

    Workflow: approval comment isnt included in the notification email Image 3 Screenshot 62

    So I need help getting the comment to be present in the email body, just like it is with the 'Teste’ Branch.

    Thanks,
    Carlos M.

  • Jerlan JotForm Support
    Replied on February 3, 2025 at 10:35 PM

    Hi Carlos,

    Thanks for reaching out to Jotform Support. Can you share the URL of the form where the workflow was created? This will help us understand what's happening and find you a solution.

    Once we hear back from you, we'll be able to help you with this.

  • fazzapp
    Replied on February 4, 2025 at 5:48 AM

    Oh, sorry about that, I forgot to inform you the URL of the form.

    There you go: https://form.jotform.com/fazzapp/cadastro-de-motorista

  • Paolo Support Team Lead
    Replied on February 4, 2025 at 3:14 PM

    Hi Carlos,

    I understand what you’d like to do, I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.

    In the meantime, let us know if you need any other help.

  • Paolo Support Team Lead
    Replied on February 4, 2025 at 3:49 PM

    Hi Carlos,

    When I cloned and tested your form, the same thing happened for me. After investigating it a bit, I found a solution. It's really easy to fix. You just need to remove the email element and add it back again. When you add the comment, instead of choosing the + Approval Fields, use Form Fields.  Let me show you how:

    1. In Workflow Builder, after adding the Email element back, click on the Email element to show additional options on the right side of the element.
    2. Click on the Mail Icon to open settings. Add a new row on your Table to have a space for the comments.
    3. Select Form Fields, scroll down and look for the orange Aprovação for declined approval and click on it. Then ,select Your Comment.
    4. Make sure that you Save the changes.

    Workflow: approval comment isnt included in the notification email Image 1 Screenshot 30

    Check the results on the screenshot below:

    Workflow: approval comment isnt included in the notification email Image 2 Screenshot 41Note that you need to require comments on your approval element so that the approver will have ample time to write the comments once they approve or decline it. Not requiring the comments will only give the approver less than 5 secs to input their comments.

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

  • fazzapp
    Replied on February 7, 2025 at 8:22 AM

    Thank you Paolo.
    I'm going to tests it and I came back if I have any question about it.


  • fazzapp
    Replied on February 11, 2025 at 8:55 AM

    Hello Paolo.

    I have done the test today and the result was fine.

    Thank hank you so much !

  • fazzapp
    Replied on March 20, 2025 at 8:19 AM

    Hello Paolo or whoever else can help me here.

    I tested the comment now for the branch named "Patrocínio” but the comment was not sent in the email. I used exactly the same one as the one in the branch that is working, which is: {f250492760350656_comment}

    Can someone help me with that?

    Workflow: approval comment isnt included in the notification email Image 1 Screenshot 20

  • Royce JotForm Support
    Replied on March 20, 2025 at 9:32 AM

    Hi Carlos,

    I cloned your form to test it, and I easily replicated the issue. There is an easy fix for this. You just need to follow the steps shared by my colleague, Paolo. It seems that you'll need to do a test submission first before adding an Email element, after you've added an Approval element to your workflowTake a look at the screenshot below to see my results:

    Workflow: approval comment isnt included in the notification email Image 1 Screenshot 20

    That's it. Let us know if you have any other questions.