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 export activity log of the Incident into a Excel file?

Gokulraj1
Kilo Contributor

Hi All,

I have to import a monthly data for activity log for all Incidents.

Is it possible?

Please,share your ideas.

 

Thanks in Advance,

Gokulraj

9 REPLIES 9

Snow12
Kilo Contributor

Hello,

 

Did you try using the sys_audit table and filter on incident then export the data you want ? 

Gokulraj1
Kilo Contributor

Hi,

 

After filter condition below snap I am getting,

 

find_real_file.png

Gokulraj1
Kilo Contributor

The below image shows the activities,

find_real_file.png

 

I want this one to export into Excel file.

Snow12
Kilo Contributor

Hello,

the changes in the snap were  created on 2017-12-01 maybe you should add date filter of this date to show the data, and if necessary add also filter on field name, for example : 

created date should be 2017-12-01.

 

You can also import data from sys_history_set and sys_history_line tables using the same filter (incident number + date).

 

Hope it could help.