Business rule triggering multiple times
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2025 06:36 AM
before business rule
insert and updated checked
some conditions
when i am creating a incident there should be just one log but i can see 4 logs
i don't know why it is happening.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2025 06:43 AM
Hi @AnkushH ,
Even during an insert, the record might get updated internally multiple times due to UI Policies, Client Scripts, Other Business Rules or Workflows/Flows
These can cause update() to be triggered implicitly before the record is actually inserted.
Add a condition to your Business Rule like:
if (current.operation() === 'insert' && !current.changes()) {
return;
}
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Pavani P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2025 07:23 AM
Hello @pavani_paluri
It is not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2025 07:08 AM
Hi @AnkushH ,
Can you pls share your script and conditions to debug the issue.
Thanks,
Pradeep
Regards,
Pradeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2025 07:11 AM
Its a before business rule
when to run = before, runs on Insert and update meaning checked for insert and update on business rule page
some conditions (which are not related to the issue)
my only concern is that it is triggering multiple times and i can see it in logs
is that due to internal updates i dont know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2025 07:27 AM
since you said it's before insert & update.
Are you sure the BR is triggering only once because if you are updating something and your BR is updating some field, some other BR might again trigger and your condition will evaluate to true.
try to debug business rule in details
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