Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

How to join sys_history_line table with sc_task

Gintarelissss98
Tera Contributor

I get no results 

Gintarelissss98_0-1699472990725.png

 

1 ACCEPTED SOLUTION

Tony Chatfield1
Kilo Patron

Hi, can you clarify your use case\business requirement, as I would suspect reporting on system audit\history data in this manner could result in performance issues.
Also, I would not recommend sys_history_set as a suitable reference for reporting, as this is not the intention of the data\table.

History sets - How are they generated - Support and Troubleshooting (servicenow.com)

 

What exactly are you trying to do and why?

View solution in original post

3 REPLIES 3

Tony Chatfield1
Kilo Patron

Hi, can you clarify your use case\business requirement, as I would suspect reporting on system audit\history data in this manner could result in performance issues.
Also, I would not recommend sys_history_set as a suitable reference for reporting, as this is not the intention of the data\table.

History sets - How are they generated - Support and Troubleshooting (servicenow.com)

 

What exactly are you trying to do and why?

I have a request from a stakeholder to see the history of assignee changes on the catalog task tickets in the one-time report 

Hi, I would look at tracking assignee changes as a metric.

Metrics (servicenow.com)

Then if you really need to deliver details of historical assignment, run a 1 off script to populate metric instances from historical sys audit data.