Showing duplicate activity logs on ritm form

AkashD462166574
Tera Contributor

 

AkashD462166574_2-1741088456744.png

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.

 

1 ACCEPTED SOLUTION

SN_Learn
Kilo Patron
Kilo Patron

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 

SN_Learn_0-1741100123077.png

 

 

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.

View solution in original post

6 REPLIES 6

GopikaP
Mega Sage

Hi @AkashD462166574 , are there any before/after business rules running which has 'current.update' in the script?

Hello Gopika,
there is no before/after business rule. Its showing only for 1 catalog item for rest not showing duplicate activities.

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 Manders
Mega Patron

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