How to get Incident state change timestamp

Pavi1
Kilo Contributor

Hi Team

I have one of the incident status as "On Hold" in ServiceNow. I have an API script in Python which fetches all the incident from ServiceNow. How do I get the timestamp of when incident state is changed to "On Hold" like we have resolved_at.

Basically, I need a variable that holds On Hold timestamp for my script logic. Which table holds this value? to which table do I have to pass the incident sys_id and get that On Hold timestamp?

Please let me know ASAP if anyone knows how to get this done.