Duplicate entries in activity log on reloading

jkhanddh
Tera Contributor

Hi Everyone,
I am stuck on a frustrating problem for a long time, your help would be greatly appreciated. 
I created a record producer with a workflow attached to get an approval from manager and give reminder in few days if request has not been acted yet. 

Problem: 1. Duplicate entries are being made whenever I reload the case formed through record producer

                     (even when I am not updating the feilds too).
                2. Number of duplicating entries have the same time stamp as that was for 1st entry

                3. Most of the times entries gets duplicated sometimes not

Parameters Checked: 1. No use of current.comments in scripts

                                     2. No use of gs.eventQueue method more than once.

                                     3. No extra business rule and client is there that runs onLoad or after insert/update.
Note : comments being duplicated are - "___" has initiated a case & "____" is requested to approve the task 
Please suggest what could possibly go wrong.
I have attached my workflow and duplicate entries.

6 REPLIES 6

You can do a code search with  'has initiated a case' using SnUtils or from studio and see what all BR's/Client Scripts/etc.. anything have those exact words.

 

Both of the above options will help you out.

 

SnUtils:

https://www.servicenow.com/community/servicenow-impact-forum/now-knowledge-exchange-sn-utils/m-p/280...

Studio Search:

https://www.servicenow.com/community/developer-blog/using-code-search-to-make-developing-on-the-plat...

 

 


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

Raghavendra3B9
Tera Contributor

I am facing the similar issue, is there any update on this or a fix available yet?