(Example) Configure an E-mail Activity to Notify the Requester for the Leave Approval in the Absence Request Process

To configure the E-mail activity to notify the requester when the manager approves the leave request in the example absence request process, do the procedure in this topic.

Good to Know

Procedure

  1. In the Process Builder, in the Activity Library, open the Common tab.
  2. On the Common tab, drag the E-mail activity onto your process.
  3. On the General Configuration screen, in the Display Name field, enter Notify Requester - On Manager Approval.


  4. Click Next.
  5. On the E-mail Notifications screen, click Add to add a new e-mail template.


  6. On the E-mail Template Configuration screen, click the Header tab.
  7. In the E-mail Template Name field, enter Notify Requester - On Manager Approval.


  8. In the To field, drag the ProcessInitiator process data variable from the Process Data > System Data screen.


  9. In the Priority field, select Normal.


  10. Click the Content tab.
  11. In the Subject field, enter Absence Request #${/pd:AP/pd:formFields/pd:RequestID} - Manager Approved.

    To get ${/pd:AP/pd:formFields/pd:RequestID}, drag the RequestID process data variable from the Process Data > Form Data screen.



  12. On the e-mail body, enter these:
    1. Dear ${/pd:AP/pd:formFields/pd:EmployeeFullName},

      To get ${/pd:AP/pd:formFields/pd:EmployeeFullName}, drag the EmployeeFullName process data variable from the Process Data > Form Data screen.

    2. Your absence request has been approved by your Manager.
    3. Comments: ${/pd:AP/pd:formFields/pd:ManagerComments}

      To get ${/pd:AP/pd:formFields/pd:ManagerComments}, drag the ManagerComments process data variable from the Process Data > Form Data screen.

    4. Report View: Click Here

      You must add the hyperlink of your report to the text Click Here.

    5. Visual Process Monitor: Click Here

      You must add the hyperlink of your process to the text Click Here.

    6. Thanks


  13. Click OK.
  14. The Process Builder shows the Notify Requester - On Manager Approval e-mail activity in the example absence request process.