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

Notifications

Announcements

No record found.

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 32
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
    237,880 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
    32 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,390 Super User 2025 Season 2 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
    237,880 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
    32 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
    237,880 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
    32 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans