- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 03:36 AM
Hi Everyone,
it's possible to have ServiceNow update the "Updated" (sys_updated_on) field when you send an email? Currently, when you send an email from ServiceNow, it does not trigger an update to the date and time on a ticket show that the ticket has been updated.
Thanks in advance for help
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 05:29 AM
@Deepika Gangra1 There is no OOTB functionality to support this. However, you can create a business rule on the sys_email table as follows to achieve this desired functionality.
Replace the incident table with your table name in the following example.
Here is the script for the BR
(function executeRule(current, previous /*null when async*/) {
// Add your code here
var glideRecord = new GlideRecord('incident');
if(glideRecord.get(current.instance)){
glideRecord.setValue('sys_updated_on',new GlideDateTime());
glideRecord.update();
}
})(current, previous);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 05:29 AM
@Deepika Gangra1 There is no OOTB functionality to support this. However, you can create a business rule on the sys_email table as follows to achieve this desired functionality.
Replace the incident table with your table name in the following example.
Here is the script for the BR
(function executeRule(current, previous /*null when async*/) {
// Add your code here
var glideRecord = new GlideRecord('incident');
if(glideRecord.get(current.instance)){
glideRecord.setValue('sys_updated_on',new GlideDateTime());
glideRecord.update();
}
})(current, previous);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 04:19 AM
This works! Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 05:01 AM
A question: How to configure automating ticket in SNOW from email?