Record producer creating duplicate records in servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 09:50 PM
Hi Everyone,
I have an issue in record producer that in record producer creating duplicate records in servicenow.
I was used class less script include to insert record in servicenow to map the producer variables to back record values.
May i know the issue why the record producer creating duplicate values.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 09:54 PM
@msc Could you please check if you are using current.insert() in your record producer script or within your script include? If yes then please remove the line as Record producer itself generates a record in the target table and current.insert is not needed in this case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 10:14 PM
Hi Sandeep ,
In script part i am calling the script include.
In script include , I am glide record the table and map the variables to backend form fields and then I am inserting the record , here I have used gr.insert();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 09:54 PM
Hello @msc,
Please refer to the link below:
https://www.servicenow.com/community/itsm-forum/record-producer-creating-duplicated-records/m-p/5314...
If it is helpful, please mark it as helpful and accept the correct solution.
Thanks & Regards,
Abbas Shaik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 09:54 PM
Hello @msc
Record producer itself will create a record when you submit it.
Can you provide some more info please....!!!
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates