1
0
-1

hi,

I have created an anonymous form( Public form ), where i have define a field of email address of the person who is filling this form.

I want to send an email to the anonymous user who is filling that form as soon as finance verified the form. Guide me what should i do in email notification?

What hash variable should i use to send email to the respective an anonymous user as finance verified.

    CommentAdd your comment...

    3 answers

    1.  
      2
      1
      0

      Hi,

      You can use Form Hash Variable in your email tool configuration to point to that field in the form where you're expecting the anonymous user to fill in his/her email. In a running process instance, Joget will pull the field's value from that database table and send out email notifications via the email tool.

      Hope this helps!

        CommentAdd your comment...
      1.  
        1
        0
        -1

         

        sorry Ashutosh. Its not working. Can you guide me more, i cant receive email when anonymous user fill the form.

         

         

          CommentAdd your comment...
        1.  
          1
          0
          -1

          could you please guide which form hash variable should I use in my case?

          As I have shown you my process and my email tool configuration.

          1. Ashutosh Tripathi

            Try to use #form.<table-name-of-the-form-where-emailField-is-present>.<fieldId-of-the-emailField>#

          2. Zehra Batool

            can you please guide me, what do you mean by this <table-name-of-the-form-where-emailField-is-present> where I can find this ?

          3. Ashutosh Tripathi

            When you created the form, you would've been asked a tableName. You could still find that tableName in the properties of the FormBuilder. You need the tableName of the form where your user will be filling in their email address.

          4. Zehra Batool

            yea i got the table name. thanks for it. one more thing i want to ask where should i write this ? To(Specific email address) or To(Participant ID) #form.<table-name-of-the-form-where-emailField-is-present>.<fieldId-of-the-emailField>#

          5. Ashutosh Tripathi

            In the To(Specific Email Address) section. Because your field will be giving out actual email addresses right? If it doesn't work when you run the app and submit the form, look for the value contained in the database for 'this' processInstanceId against this field. On a side note, always keep a watchful eye on the Joget logs to find out where something went wrong.

          CommentAdd your comment...