Add email notifications for use with Emergency Outreach

  • Versão de lançamento: Australia
  • Atualizado 12 de mar. de 2026
  • 2 min. de leitura
  • Add an email notification to customize the send conditions and notification for your employees and use it in place of the default notification for an Emergency Outreach notification.

    Antes de Iniciar

    Review the default email notification to familiarize yourself with the way that the notification is laid out and scripted. Use the default notification details to prepare the information to use for the notification that you're adding.
    Tabela 1. Default email notifications by application
    Application Notification name
    Emergency Outreach Employee Check-ins
    Employee Readiness Surveys Outreach Surveys
    Employee Health Screening Daily Health Verification
    Contact Tracing
    • Employee Daily Log Alert
    • User Privacy Consent
    • Notify Exposed Contact

    Role required: admin

    Procedimento

    1. Navigate to All > System Notifications > Email > Notifications.
    2. Click New.
    3. On the form, fill in the fields.
      Tabela 2. Notification form
      Outreach notification Required fields for configuring the email notification
      Voluntary health check-in Table field: Outreach Acknowledgements [sn_imt_checkin_check_in_acknowledgement]

      When to send tab:

      • Send when: Select Record inserted or update
      • Conditions:

        [User.Active][is][true]

        [Notification count][changes] and

        [Sys id] [starts with]

      Outreach Surveys Table field: Assessment Instance [asmt_assessment_instance]

      When to send tab:

      • Send when field: Select Event is fired
      • Event name field: Select sn_imt_checkin.survey_instance_notify
      • Conditions:

        [Assigned to.Active][is][true]

      Daily Contact Log Table field: Daily Log Acknowledgements [sn_imt_tracing_daily_log_acknowledgement]

      When to send tab:

      • Send when: Select Record inserted or update
      • Conditions:

        [User.Active][is][true] and

        [Acknowledgment Status][is not][Acknowledged]

      User Privacy Consent Table field: User Privacy Notice and Consents [sn_imt_tracing_user_privacy_consent]

      When to send tab:

      • Send when: Select Record inserted or update
      • Conditions:

        [Parent consent][is empty] and

        [Consent status][is][Not Acknowledged] and

        [Notification count][changes] and

        [Notification count][greater than or is][1] and

        [User.Active][is][true] and

        [Emergency Outreach.Email notification][is][true]

      Notify Exposed Contact Table field: Exposure Notice [sn_imt_tracing_exposure_notice]

      When to send tab:

      • Send when: Select Record inserted or update
      • Conditions:

        [User.Active][is][true] and

        [Notification count][changes]

      Daily Health Verification Outreach Table field: Health Verification Acknowledgements [sn_imt_checkin_health_verification_acknowledgement]

      When to send tab:

      • Send when: Select Record inserted or update
      • Conditions:

        [User.Active][is][true] and

        [Acknowledgment Status][is not][Acknowledged]

    4. In the Advanced condition field, enter the code to associate the email notification with the corresponding outreach notification.
      • For the Outreach Surveys notification:
        var checkInSysId = event.getValue('parm1');
        var checkInGr = new GlideRecord('sn_imt_checkin_employee_check_in');
        checkInGr.get(checkInSysId);
        var thisNotificationSysId = '<your-sys_id>';
        answer = checkInGr.getValue('notification') === thisNotificationSysId && checkInGr.email_notification;
        
      • For other outreach notifications:
        var thisNotificationSysId = '<your-sys_id>'
        answer = current.employee_check_in.notification = thisNotificationSysId;
        

      Replace the <your-sys_id> variable with the sys_id of the notification that you're adding. To do so, right-click in the header, select the Copy sys_id option, and paste the sys_id into the code line.

    5. In the Who will receive tab, select the audience to whom the notification will be sent.
      You can also select the target audience while configuring or sending the associated outreach notification. For more information, see Send notifications for an emergency.
    6. In the What it will contain tab, enter the subject and text of the email message.
      Clear the email template if it does not apply to your outreach notification or you have defined the email content in the corresponding outreach notification.
    7. Click Submit.
    8. In the Notifications list, open the notification that you added and click Preview Notification.
    9. Review the notification and modify as necessary.
    10. Click Update.