---
title: HasAttachments
slug: neurons-for-itsm/admin-user-help/enu/latest/hasattachments
createdAt: 2026-07-14T19:16:50.966Z
---

Identifies if the current record has any attachments linked. This is identified via the relationship to the Attachment business object.

:::hint{type="info"}
HasAttachments is only available, and can only be evaluated against, a business object that has a relationship to attachments.
:::

## Syntax

`HasAttachments()`

## Enabled For

For a description of the business object categories, see [Notes on "Enabled For"](docId\:u26v9feCFs6iLwA0-PVJd).

| Business Object Category                                                                    | Yes/No |
| ------------------------------------------------------------------------------------------- | ------ |
| Business Rules: Before-Save Rules                                                           | Yes    |
| Business Rules: Calculation Rules (After Save, with or without Also Recalculate on Load)    | Yes    |
| Business Rules: Calculation Rules (Before Save or Always, without Also Recalculate On Load) | Yes    |
| Business Rules: Calculation Rules (Before Save or Always, with Recalculate On Load)         | Yes    |
| Business Rules: Editing Rules                                                               | Yes    |
| Business Rules: Initialization Rules                                                        | Yes    |
| Business Rules: Read Only Rules                                                             | Yes    |
| Business Rules: Required Rules                                                              | Yes    |
| Business Rules: Validation Rules                                                            | Yes    |
| Client Expressions                                                                          | No     |
| Object Permissions                                                                          | No     |
| Services                                                                                    | Yes    |
| LDAP                                                                                        | Yes    |
| Mobile                                                                                      | No     |
| Quick Actions (except UI Quick Actions)                                                     | Yes    |
| UI Quick Actions                                                                            | No     |
| Reports                                                                                     | Yes    |
| Search/Dashboard without field references                                                   | No     |
| Search/Dashboard with field references                                                      | No     |

## Parameters

:::Paragraph{indent="1"}
None.
:::

## Return Value

:::Paragraph{indent="1"}
Boolean value. Returns true if record has one or more attachments. Returns false if the record has no attachments.
:::
