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.

Aged report based off last comment or note.

brandon_bakowsk
Tera Contributor

I am attempting to get a report for aged cases based off the last time a comment was made on a case, we were previously checking aged cases for cases not receiving an "Update" for 3 days but we want to specifically look for notes and comments instead of the "Updated" field.

Has anyone done this before or know the table where comment data is kept?

1 ACCEPTED SOLUTION

JenniferRah
Mega Sage
Mega Sage

We have a similar case but ours is an SLA we wanted to run based on how long something has gone without comment from a person. What we ended up doing is creating a Date/Time field called "User Comment or Worknote Added". It is updated by a Business Rule that runs when a sys_journal_field entry is inserted or updated that will update this field with the current date/time. Then you can run your report (or, in our case, an SLA) on that field.

 

JenniferRah_0-1732129856114.png

 

View solution in original post

1 REPLY 1

JenniferRah
Mega Sage
Mega Sage

We have a similar case but ours is an SLA we wanted to run based on how long something has gone without comment from a person. What we ended up doing is creating a Date/Time field called "User Comment or Worknote Added". It is updated by a Business Rule that runs when a sys_journal_field entry is inserted or updated that will update this field with the current date/time. Then you can run your report (or, in our case, an SLA) on that field.

 

JenniferRah_0-1732129856114.png