Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Using email client will not update the related record sys_updated_on times - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Using email client will not update the related record sys_updated_on times
KB0726369

Using email client will not update the related record sys_updated_on times


1388 Views Last updated : Jul 24, 2025 public Copy Permalink
KB Summary by Now Assist

Issue

Problem


When sending an mail with the mail client in an incident, sys_updated_on does not the 'updated' timestamp of the related record (e.g. incident).

Symptoms


If you send an Email using the Email client that you can access from menu top bar in any incident.

The Email sent created an activity, but this new activity shown in the Activities journal entries does not update the main parent incident record and the incident system timestamp "sys_updated_on" does not get updated either

This was intended behavior for Emails not to update their related records, however there may be situations when this is necessary.

Cause


The email client does not perform an update on the related record

Resolution


There is no plans to change this behavior.

Instead, you could customise the system to perform an update once an email is sent by the email client.

Here is an example

Scripted business rule on sys_email table as follow:

 

Table [sys_email]
When BEFORE UPDATE
Order =100
target table is incident AND
Weight is -1 AND
Type ChangesTo sent

Script =

 
(function executeRule(current, previous /*null when async*/ ) {
    // Look up the target record 'instance' in the incident table 
    var curtim = new GlideDateTime();
    var inc1 = new GlideRecord('incident');
    inc1.addQuery('sys_id', current.instance);
    inc1.query();

    if (inc1.next()) {
        inc1.sys_updated_on = curtim;
        inc1.update();
        gs.log("Email sent by user, incident " + inc1.number + " sys_updated_on updated with timestamp " + curtim);
    }
})(current, previous);
Warning: Please fully test on development before making changes to production

 


 

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

Attachments

Attachments

No attachments found

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.