web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Is there a way to validate data on Update_Recordset even if we skip table data methods?

(1) ShareShare
ReportReport
Posted on by 115
Hi experts, 
I am updating a table through update_recordset. This table has mass data. To optimize the performance of updation, I have skipped the data methods through skipdataMethods option. But now, the client needs to validate records on updating. I am exploring is there any way that we could still validate the records on updating through update_Recordset even after skipping the methods? This question might be senseless. I understand validating by not skipping the data methods is the best practice. But just exploring is there any other way that we could validate without sacrificing the performance? 
 
Thanks in advacne, 
John
I have the same question (0)
  • Suggested answer
    Layan Jwei Profile Picture
    8,165 Super User 2026 Season 1 on at
    Hi John,
     
    I don't think it's possible. Update_recordset will fall back to record-by-record operation once you remove the skipdataMethod(true) and that's because the update method of the table will have some logic.
     
    So if you want to validate each record you want to update, I don't think it makes sense for update_recordset to work without sacrificing performance.
     
     
    Thanks,
    Layan Jweihan
  • André Arnaud de Calavon Profile Picture
    305,398 Super User 2026 Season 1 on at
    Hi John,
     
    Like Layan mentioned, you would lose performance when validating the records. You can also consider running another batch job for validating the records afterwards, but that depends on the severity of the validation.
  • Verified answer
    Kevin Xia Profile Picture
    Microsoft Employee on at
    Hi,
    As Andre said, instead of processing all the data at once using update_recordset, you can split the data into smaller batches. After processing each batch, you can apply data methods for validation. This way, you can ensure that data is validated periodically without sacrificing too much performance.
    Best regards,
    Kevin

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 612

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 592 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 586 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans