Skip to content

Commit 0874009

Browse files
authored
README.md
1 parent e651b66 commit 0874009

File tree

1 file changed

+9
-0
lines changed
  • Server-Side Components/Business Rules/Service Request Submission Throttling

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
This business rule in ServiceNow is designed to limit the number of service catalog requests a user can submit within a certain timeframe — specifically, 5 requests per hour.
2+
3+
This rule helps throttle excessive catalog request submissions, which can:
4+
Prevent system abuse (intentional or accidental),
5+
Avoid spamming by users (especially in large environments)
6+
7+
This ServiceNow Business Rule checks if the current user has submitted 5 or more service catalog requests (sc_request) in the past hour. If they have:
8+
It shows an error message, And aborts the current request from being submitted.
9+
It uses GlideAggregate to efficiently count recent requests made by the same user, and compares the count against the limit.

0 commit comments

Comments
 (0)