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

SSRS reports - choose to run in batch

(0) ShareShare
ReportReport
Posted on by 40
Hi All !

 
I'm having a requirement with running SSRS reports. I need to execute the report depending on the Report parameter values, I want the report to run automatically either in the background[Run in Background] with batch processing enabled or without it.

Can anyone guide me on how to achieve this ?

Thanks !
I have the same question (0)
  • Martin Dráb Profile Picture
    238,789 Most Valuable Professional on at
    Are you saying that you don't want to use the standard configuration on Run in the background fast tab and you want to duplicate the same setup as custom parameters of your report? If so, why?
  • Mahesh.0507 Profile Picture
    40 on at
    Appreciate your helpMartin Dráb ! 

    I'm looking to automate the process rather than manually adjusting it every time I run the report. So, that the report automatically runs either in the background with batch processing enabled or without it depending on the parameter values.
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,779 Super User 2026 Season 1 on at
    Hi,
     
    there is a standard feature to run the report in the background.
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Martin Dráb Profile Picture
    238,789 Most Valuable Professional on at
    I still don't understand. You don't want to use standard parameters, because they need to be configured manually. So you'll create custom parameters, which - will be configured manually? What's the benefit of it?
  • Mahesh.0507 Profile Picture
    40 on at
    Martin Dráb - Let me put it this way!

    I have this input parameter 'legal entity' for the report. Now, depending on how many entities/company I select [Lookup with multiselect], I want the system to decide whether it should run in the background with batch processing enabled or not.

    Hope that clears things up a bit! Thanks !
  • Martin Dráb Profile Picture
    238,789 Most Valuable Professional on at
    You can add such logic to report controller class. Note that it sounds like you want ReliableAsynchronous execution mode rather than a batch running on schedule.
  • Verified answer
    Mahesh.0507 Profile Picture
    40 on at
    I added the modified method to the dialog fields in UI Builder class. Upon modification, I was able to validate the parameter values & toggle the "Run in Batch" button using the following :
     
    this.controller().batchInfo().fieldBatchExecuteValue(NoYes::NO);
     
     
    Thanks !

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... 521 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 438

#3
Adis Profile Picture

Adis 261 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans