Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to check if records in table was updated

Serhii5
Mega Guru

Guy’s , hi, could you help me, how to check if table records data was updated ? My table has regular update with autoSysFields(false) 

 

Regards, Serhii

1 ACCEPTED SOLUTION

'check in script' makes me to 2 things.

Script updated or not - For that you can right click the form header as above & select Related List & add Version to the form.

Script to check if field was updated - Yes, you can gliderecord sys_audit table to get the results but do it only if there are limited set of records audit table has whole lot of things & can cause some performance issue as it will pull details that may take longer time to retrieve as it audit everything on platform.

View solution in original post

3 REPLIES 3

Jaspal Singh
Mega Patron
Mega Patron

Hi Serhii,

 

All you need is to right click form header & select History. Something as below.

find_real_file.png

 

Alternatively, you can look for Audit tables like sys_audit, sys_history_line as well.

Thanks for your answer, is it possible to check in script ?

'check in script' makes me to 2 things.

Script updated or not - For that you can right click the form header as above & select Related List & add Version to the form.

Script to check if field was updated - Yes, you can gliderecord sys_audit table to get the results but do it only if there are limited set of records audit table has whole lot of things & can cause some performance issue as it will pull details that may take longer time to retrieve as it audit everything on platform.