- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-27-2020 08:45 AM
Looking to find all field value changes for a record in sys_history_line. Is there a way to query for a specific record?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-27-2020 09:00 AM
Hi,
You can, you can query through script with something like:
var gr = new GlideRecord('sys_history_line');
gr.addQuery('id', 'sys_id_of_record_here');
gr.query();
if (gr.next()) {
Do this...
}
Not sure in what context you're looking at those field changes, but you can reach it via script using the above, or simply go to the sys_history_line table and look at the "Set" column for a particular record.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-27-2020 09:00 AM
Hi,
You can, you can query through script with something like:
var gr = new GlideRecord('sys_history_line');
gr.addQuery('id', 'sys_id_of_record_here');
gr.query();
if (gr.next()) {
Do this...
}
Not sure in what context you're looking at those field changes, but you can reach it via script using the above, or simply go to the sys_history_line table and look at the "Set" column for a particular record.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2020 07:12 PM
Hi again,
Just wanted to check-in on this. If I've helped guide you correctly, please mark that reply as Correct. This helps others in the community see the correct answer (at least for you) easily.
Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-12-2020 02:12 PM
Hi,
It's been a bit since my reply was posted. I just wanted to check-in and see how things are going.
If my reply helped guide you correctly, please mark it as Helpful & Correct.
Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!