- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2025 03:42 AM
Hello Everyone,
If you see in ss on RITM its showing duplicates activity logs. Can anyone please help me on this how we can resolve it.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2025 06:56 AM
Hi @AkashD462166574 ,
The most probable cause of this issue is current.update() in before business rules
Please have a look at the below part from ServiceNow Doc:
Prevent recursive business rules
Mark this as Helpful / Accept the Solution if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2025 06:14 AM
Hi @AkashD462166574 , are there any before/after business rules running which has 'current.update' in the script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 01:42 AM
Hello Gopika,
there is no before/after business rule. Its showing only for 1 catalog item for rest not showing duplicate activities.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 04:05 AM
Hello @GopikaP
I missed checking one business rule and found current.update in the script. So, I added current.setWorkflow(false) in the script and checked the form. I did not find any duplicate entries.
Thank you so much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2025 06:19 AM
Are they really duplicates (different timestamp) or are you just updating the record multiple times. Check on the history of the record to see what is really happening. If it's truly a duplicate, like just visually showing you the same thing twice, the solution is different than if you are updating the record multiple times through (work)flows/scripts.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark