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 delete work notes from any record

VIKAS MISHRA
Tera Contributor

I have deleted the work note record from journal entery table and audit tabl;e also, but the work note is still there in the incident ticket. please sugest how can i delete that and please do not provide any url as on internal i am getting confused 

3 REPLIES 3

PA001
Mega Sage

Hello Vikas,

 

Can you delete the record entry in sys_history_set table as well and it will not appear in the work notes on the record.

 

Please mark my response as Correct / Helpful

Thanks

SatyakiBose
Mega Sage

Hello @VIKAS MISHRA 

 

1. Get the sys_id of the task
2. Get the audit_sysid of the exact entry you want to delete by going to History and click through the specific entry
3. Delete 3 entries using the following url’s:
     a. Use sys_id: yourinstance.service-now.com/sys_journal_field_list.do?sysparm_query=element_id=sys_id from step 1
     b. Use sys_id: yourinstance.service-now.com/sys_audit_list.do?sysparm_query=documentkey=sys_id from step 1
     c. Use audit_sys_id: yourinstance.service-now.com/sys_history_line_list.do?sysparm_query=sys_id from step 2
4. Last Step:Right-click the form header, and select History –> List.
Delete the “Record History” record you are taken to.