how to check current incident update has any attachments in flow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2025 08:23 PM
flow is trigger is each unique change in the record but I want to know my current update has any attachments
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 07:02 PM
Hi @gunasekaran_s,
When you add an attachment to an incident, a new record is created in the 'sys_attachment' table.
Therefore, you can check whether your current update has any attachments by querying this table.
Query condition is like 'Tbale sys ID' is 'Trigger > Incident record > sys_id'
If my answer was helpful, please click the Thumb Icon and mark it as the solution. This way, it can assist others in the future.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 08:14 PM
you cannot check if on each update a file is added.
When you use Lookup Record on Sys_attachment you can add condition as Created on last 15mins for this record but that doesn't guarantee if file was added during update
what's your business requirement here?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader