duplicate attachments in activity log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 01:57 AM
Hi all,
I have created an Attachment field in the record producer, but after I upload the attachment, two records of the same attachment will appear in the ticket page. What is the reason for this? The HR module I use, There is a method in the record producer script: new sn_hr_core.hr_ServicesUtil(current, gs).createCaseFromProducer(producer, cat_item.sys_id);
Is the question related to this method?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 02:56 AM
Hi @Ankur Bawiskar ,
1) is this happening on all record producers or specific one
---- Not only this one
2) is this happening for admins or non-admins
Not only admin
I find that if I use the attachment type field, there are two duplicate records, but this is not the case if I use the Attachment widget of OOTB

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 03:05 AM
I tried to reproduce, also with a HR Record Producer, out-of-the-box this issue does not occur.
Any customizations that you mention? For example Business Rules doing something with attachments?
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 03:17 AM
As mentioned by other members please check any custom BR/logic is present
Check that and share the updates so that we can help further.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 08:03 AM
Hi @Ankur Bawiskar ,
I found the same problem in my own PDI after trying it with Create Incident record producer from OOTB, I only created an attachment field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 02:49 AM - edited 07-24-2023 02:49 AM
Hi Please check is there a custom BR to insert attachments? May be it is running on each update on case?
Harish