Configure an email notification for a privacy consent request

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 1 minute to read
  • Configure an email notification to use in the Emergency Outreach app to request that employees review the organization's privacy policy and provide their consent to use their data for contact tracing.

    Before you begin

    Role required: admin

    Procedure

    1. Navigate to All > System Notifications > Email > Notifications.
    2. Review the existing User Privacy Consent email notification to familiarize yourself with the script and other settings.
      Figure 1. User Privacy Consent base system notification
      The When to send tab in the User Privacy Consent notification.
    3. Click New.
    4. In the Table field, select the User Privacy Notice and Consents [sn_imt_tracing_user_privacy_consent] table.
    5. On the When to send tab, set the conditions.
      1. In the Conditions field, set the criteria as shown in the image of the base system notification.
      2. Copy the following example script in the Advanced condition field.
        var employeeCheckInAcmeSysId = '<replace with this notification sys_id';
        answer = current.employee_check_in.notification == employeeCheckInAcmeSysId
        
      3. Make the following modifications to the example script:
        • Give the variable a different name, for example, employeeCheckInAcmeSysId.
        • Enter the new notification sys_id as the value.
        • Enter the variable name that you declared at the end of the second line.
    6. On the Who will receive tab, open Users/Groups in fields and select Assigned to.
    7. Complete the remaining information on the What it will contain tab.
      While entering the email content in the Message HTML field, make sure that you include the link to the Privacy Consent form.
    8. Click Submit.
    9. In the Notifications list, open the notification that you added and click Preview Notification.
    10. Review the notification and make any changes required.
    11. Click Update.