Skip to content

Commit 4e83ff2

Browse files
authored
Create Readme.md
1 parent 7d89666 commit 4e83ff2

File tree

1 file changed

+7
-0
lines changed
  • Server-Side Components/Business Rules/Smart Attachment Size Limiter

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Smart Attachment Size Limiter
2+
This Business Rule limits attachment sizes uploaded to ServiceNow records by enforcing a maximum size configured via the system property com.glide.attachment.max_size (in bytes). If the attachment exceeds the configured limit, the upload is blocked with an error message shown to the user. You can create or modify this system property to change the max size and update the property name in the script accordingly.
3+
4+
Scoped Application Note:
5+
If deploying in a scoped application, configure Cross-Scope Access under System Applications > Application Cross-Scope Access to allow your app permission to access the sys_attachment table and related resources, avoiding security restrictions.
6+
7+
This approach keeps your instance performant by managing attachment size transparently without hardcoded limits.

0 commit comments

Comments
 (0)