91 views

Description

The email watermark enables the system to recognize incoming emails as a reply. However, when scripting, finding the email watermark is not accessible within a scoped application. On scoped applications, email.watermark returns undefined, for example, a notification or notification email script in scoped applications.

Steps to Reproduce

 

  1. Create a scoped application/table.

    For more information, see the product documentation topic Application tables.

  2. Create a notification and notification email script that references the new scoped table.

    For more information, see the product documentation topic Create an email notification.

  3. Include a gs.info() statement to capture the value of email and email.watermark.

    The statement returns for email something like
    com.glide.notification.outbound.ScopedEmailOutbound@59cb1a <scoped app table>

    email.watermark returns undefined.

Workaround

Create a global script if you need to access the email watermark value.


Related Problem: PRB1236131

Seen In

There is no data to report.

Intended Fix Version

London

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-03-01 12:09:04
Published:2017-10-30