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, ...
Unanswered

How to Test After Implementing Batch Retry for SQL Issues/Connection Failures

(3) ShareShare
ReportReport
Posted on by 33
Can anyone help to test After Implementing Batch Retry for SQL Issues/Connection Failures. I tried some option which copilt suggested but that is not working.
It would be greatful if some share who worked on it or has some idea about it
Categories:
I have the same question (0)
  • Martin Dráb Profile Picture
    239,684 Most Valuable Professional on at
    Which D365 product are you using? The D365 brand covers quite a few things, such as Finance and Operations, Business Central or Customer Engagement. You've asked in the general forum, but the question is specific to a particular product; it's not about D365 in general.
  • SB-28091801-0 Profile Picture
    33 on at
    @Martin Dráb D365 Finance version 10.0.45 (10.0.2345.35). Could you please help me 
  • Martin Dráb Profile Picture
    239,684 Most Valuable Professional on at
    Moved from Integration, Dataverse, and general topics forum to Finance | Project Operations, Human Resources, AX, GP, SL forum.
     
    Please tell us more about the code that you want to test.
  • SB-28091801-0 Profile Picture
    33 on at
    @Martin Dráb
    /// <summary>

    /// Specifies if the batch task is retryable for transient exceptions or not.

    /// </summary>

    /// <returns>

    /// If true is returned, the batch task is retryable, otherwise it is not.

    /// </returns>

    [Hookable(false)]

    final boolean isRetryable()

    {

        return true;

    }
  • Martin Dráb Profile Picture
    239,684 Most Valuable Professional on at
    Let me guess and add some context on your behalf.
     
    I believe you're talking about the feature documented in Enable batch retries > Retry for SQL transient connection errors.
     
    You've created a custom class inheriting either from RunBaseBatch or SysOperationServiceController and implemented BatchRetryable  interface.
     
    Now you want to test that Microsoft implemented the feature correctly and the batch service does silently retry the task if a transient error occurs. So you want to simulate such an error and either have insight into what the batch service does or just observe the result to check that the task succeeded despite of the error.
     
    Is it so?
  • SB-28091801-0 Profile Picture
    33 on at
    yes , we implemented logic in the custom batch, now how do we test that batch retrieval working or not?

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 May Top 10 Community Leaders

These are the community rock stars!

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 681 Super User 2026 Season 1

#2
André Arnaud de Calavon Profile Picture

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

#3
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 579

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans