Attachment field in record producer logging double work notes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2024 04:02 AM
Hi Everyone,
I have encountered with an issue that when we attach an attachment in a record producer it is showing two attachments on the work notes how can we restrict this behavior in ServiceNow can anyone have an idea or encountered the same before kindly suggest me the solution.
Regards,
Vivek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2024 04:37 AM
What do you mean by 'two attachments in the worknotes'? Are there indeed two attachments, or is it from copying? If you have worknotes stating 'an attachment has been added', check on the conditions. It could be on create and update and I have seen attachments being created in the attachment table (update 1) and then updated when attached (update 2).
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2024 05:03 AM
Hi Mark,
Thanks for the reply kindly refer the below attachment
when i have attached one attachment it is showing that two attachments have been added.
Regards,
Vivek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2024 05:18 AM
You were talking about a record producer, right? This attachment seems to be coming from an email?
But I guess you will need to check the code attaching the attachment to the record. I think it runs twice (probably on insert and update).
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2024 05:22 AM
I am sorry mark actually we don't have the code attaching the attachment to the record.Correct me if i am wrong is their any OOB Code that runs on the attachments.
Regards,
Vivek