Record Producer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
19 hours ago
I have a record producer that creates an incident.
Issue: Multiple incidents are getting created for a single submission.
What are the common reasons for this behaviour?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
13 hours ago
Hi @sri10120 ,
have you looked into the record producer script?
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
13 hours ago
@sri10120 have gone through the record producer script are you guys calling an array to create records in that script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11 hours ago
Hi @sri10120 !!
Common Reasons:
Multiple Submissions Triggered:
Users might click the submit button multiple times, especially if the page is slow to respond.
Lack of UI feedback (like a loading spinner) can cause repeated submissions.
Business Rule / Script Issue:
A before or after Business Rule on incident or sc_req_item may be running multiple times unintentionally.
Scripts in the Record Producer might create an incident multiple times instead of using current properly.
Workflow / Flow Designer Trigger:
If a workflow or flow is set to run on insert and also on update, it may create duplicate incidents.
Loops in the flow logic can also trigger multiple incident creations.
Client Script / UI Action Re-submission:
Client scripts or UI actions that trigger submit() programmatically may run more than once.
Integration / External Calls:
If the Record Producer triggers a REST or inbound integration, repeated callbacks can create duplicates.
Tips to Prevent Duplicates:
Disable the submit button after the first click (UI feedback).
Check Business Rules and scripts for multiple insertions.
Use current.isNewRecord() or current.inserted flags in scripts to ensure a single creation.
Test the Flow Designer logic to ensure it triggers only once per submission.
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for.
Thank You