Query Case Activites
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2023 08:55 AM
I'm trying to query/search for a specific file name in all Cases. The file name shows in the Activities (Attachment uploaded) portion of the Case. I've tried searching on Keywords, but that's not working. How would I run a query/search on any/all Cases that contain Mike_Test.txt (for example) in the Activities of a Case?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2023 09:19 AM
One way to do this is to create a Database View joining the Case and Attachment tables. It would look something like this - depending on which table you're referring to as 'Case'
You can then choose fields from the Case table to be displayed, and file_name from the attachment table and filter on ones matching your search.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2023 09:31 AM
Thanks Brad. I can search the attachment table to see what files are attached to a Case. But, this file is no longer attached (deleted). But, it should still note the file name in the Activities, showing when it was attached. That's what I need to search on. But, I don't see a field on the Case table that searches the Activities.