We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How can we search to see if HR Case has an attachment?

Not applicable

Experts,

 

I have researched the community and also tried current.hasAttachments() but it is not supporting HR Case table. Can some one guide me how to find out attachment in a case and show in a report.

 

I tried below links but it is based on Incident table:

 

https://www.servicenow.com/community/itom-forum/search-question-can-you-search-to-see-if-something-h...

https://www.servicenow.com/community/developer-forum/how-can-we-check-if-the-record-has-an-attachmen...

 

Thank you!

MK

1 ACCEPTED SOLUTION
2 REPLIES 2

SVimes
Kilo Sage

You could try querying the attachments table itself like here.

https://www.servicenow.com/community/csm-forum/how-to-check-if-a-case-task-has-attachments/m-p/37042... 

Sable Vimes - CSA

Not applicable