1
0
-1

Hi, I'm new here. I have a question to ask. How to send the email with comment. For know I have the knowledge to send the email to the requestor. I'm the approver. I want to reject the application from the requestor with the comments. Anyone knows how to do this? Really need your help on this. Thank you in advance.

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi Izzuddin Pauzi

      The Simple Leave app in Joget Marketplace has examples in the process Email Tool that sends email notification to the recipient with lots of information from the Joget form.

      Below is an example in "Plugin Configuration - Email Rejected (EmailRejected) > Message":

       

      <p>Dear #form.j_leave.ApplicantFirstname#</p>

      <p>Approver <b>#user.{form.j_leave.ToApprover}.firstName#</b> has <b>#form.j_leave.LeaveStatus#</b> your <b>#form.j_leave.LeaveType#</b> application from <b>#form.j_leave.DateFrom# to #form.j_leave.DateTo#</b> with reason "<b>#form.j_leave.ApproverNotes#</b>".</p>

      <p>You may edit and resubmit your leave or cancel your leave application.</p>

      <p>Click <a href="#envVariable.URL#li">here</a> to resubmit your leave request.</p>

      <p>This is a system generated email.</p>

       

      The key is to use Joget's build-in hash variable feature (more in Joget Workflow Knowledge Base).

      If you are new to hash variables, I recommend you to download and run the Hash Variable Tutorial app from Joget Marketplace.

       

        CommentAdd your comment...