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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Perform Job re-run with code

(0) ShareShare
ReportReport
Posted on by 10

Hello! 
I often encounter a problem where multiple entities cannot successfully boot into d365 for unknown reason (off-topic question). In such cases I use "Copy data to target" tab 1263.pastedimage1685002182946v2.png
then I choose "Run for criteria" and enable checkbox "Rows with previous errors"
 Image
After these steps failed jobs are successfully reprocessed.

So my question is - is there any options how can I do the same operation from code? I mean HTTP (maybe OData) request.

Thanks!

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    303,083 Super User 2026 Season 1 on at

    Hi Uladzislau,

    It would be good to understand why you have these errors. It could be e.g. sequential issue. In that case, it would be better to redesign the integration with a correct order, preventing having errors. This would have my preference above just trying to run the failed again.

    When you insist in restarting the copy process using OData, you would need to build a custom data entity with a public action which can then execute x++ coding. I don't think it would be an easy development. You can find some thoughts on using and creating actions on my blog: Let your Operations Flow – Part 8 - Dynamicspedia

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 311

#3
Diego Mancassola Profile Picture

Diego Mancassola 271

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans