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!

  • André Arnaud de Calavon Profile Picture
    307,829 Super User 2026 Season 2 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 539 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 366 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 197

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans