{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":9322,"path":"employee-service-management/contact-tracing/add-daily-log-notification.md","title":"Configure an email notification for the daily contact log","bundle":null,"doc_type":null,"release":"australia","body":"\n# Configure an email notification for the daily contact log\n\nConfigure a custom email notification to use with Emergency Outreach notifications so you can request that users submit a list of other users they came in contact with throughout the workday.\n\n## Before you begin\n\nReview the existing **Employee Daily Log Alert** and **Daily Contact Log Notification** email notifications to familiarize yourself with the base scripts and settings.\n\nRole required: admin\n\n## About this task\n\nWhen you configure an email notification for use as a daily contact log, you are creating a customized email notification for contact tracing purposes. The **Employee Daily Log Alert** and **Daily Contact Log Notification** are email notifications you can review for a better understanding on how notifications similar to the one you might create are configured.\n\n## Procedure\n\n1.  Navigate to **All** &gt; **System Notifications** &gt; **Email** &gt; **Notifications**.\n\n2.  Click **New**.\n\n3.  In the **Name** field, enter a descriptive name for the notification.\n\n4.  In the **Table** field, select the Daily Log Acknowledgements \\[sn\\_imt\\_tracing\\_daily\\_log\\_acknowledgement\\] table.\n\n5.  On the **When to send** tab, set the conditions.\n\n    -   Enter conditions in the condition builder to define when users are sent the email notification.\n    -   Copy the following example script in the **Advanced condition** field and make these modifications.\n        -   Give the variable a different name, for example, *employeeCheckInAcmeSysId*.\n        -   Enter the new notification sys\\_id as the value.\n        -   Enter the variable name that you declared at the end of the second line.\n    Example Advanced condition script:\n\n    ```\n    var employeeCheckInAcmeSysId = '<replace with this notification sys_id';\n    answer = current.employee_check_in.notification == employeeCheckInAcmeSysId\n    \n    ```\n\n6.  On the **Who will receive** tab, select from **Users** and **Groups** to determine who will receive the notification.\n\n7.  Complete the remaining information on the **What it will contain** tab.\n\n<table id=\"table_u5n_3gx_gqb\"><thead><tr><th>\n\nField\n\n</th><th>\n\nAction\n\n</th></tr></thead><tbody><tr><td>\n\nEmail template\n\n</td><td>\n\nSelect the email template used to determine any pre-configured content within the subject line and message body.\n\n</td></tr><tr><td>\n\nSubject\n\n</td><td>\n\nCreate the subject line that users see when they receive the email.\n\n</td></tr><tr><td>\n\nMessage HTML\n\n</td><td>\n\nIn the **Message HTML** field, add and customize the text or source code of the message to meet your organization's needs.**Note:** While entering the email content in the **Message HTML** field, make sure that you include the link to the Daily Contact Log form.\n\n</td></tr></tbody>\n</table>8.  Click **Submit**.\n\n9.  In the Notifications list, open the notification that you added and click **Preview Notification**.\n\n10. Review the notification and make any changes required.\n\n11. Click **Update**.\n\n\n## Result\n\nYou created a custom email notification for use as daily contact log with Emergency Outreach notifications. When you modify or create an Emergency Outreach notification, you can select this notification for the Daily Contact Log or custom outreaches.\n\n## What to do next\n\nTo use this email notification for as your daily contact log, see [Configure an Emergency Outreach notification for the daily contact log](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/employee-service-management/contact-tracing/configure-outreach-notif-daily-log.md).\n\n**Parent Topic:**[Setting up Contact Tracing](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/employee-service-management/contact-tracing/set-up-contact-tracing.md)\n\n"}}