If I save a record in suitescript and it fails due...
# ask-stanley-ai
d
If I save a record in suitescript and it fails due to CUSTOM_RECORD_COLLISION but it is caught in a try/catch block, will I need to reload and set the record values again before attempting to save the record? Or can I just submit again
c
AI generated answer (using internal Slack threads):
Based on the conversations, if you save a record in SuiteScript and it fails due to CUSTOM_RECORD_COLLISION but it is caught in a try/catch block, you will need to reload and set the record values again before attempting to save the record. You cannot just submit the record again. This is usually done in a loop in a try/catch block. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.828369141
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.822387755
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.82019031
Please provide your feedback on this answer.