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, ...
Suggested Answer

Runbasebatch and SOF

(0) ShareShare
ReportReport
Posted on by 340
Hi team,
 
Whenever we think about batch job, SOF and Runbasebatch comes to the mind.  But let me know why MS introduced SOF for batch job , where we have still Runbasebatch.
 
What is the difference between them. Which approach is more reliable to use 
 
Pls elaborate.
 
Thanks!
Categories:
I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    239,809 Most Valuable Professional on at
    There are several reasons. For instance:
    • RunBase framework doesn't respect single-responsibility principle - it mixes UI handling, validations, serialization/deserialization, framework configuration, actual business logic... SysOperation framework does it differently - there is an object for data contract and the business logic depends just on the data contract. The controller doesn't need to know anything about UI handling; that's the responsibility of the UI builder. And so on.
    • When implementing a RunBase class, you need to implement serialization and deserializing on your own. Not only it means extra work, but it was a common source of errors because developers failed to do it correctly.
    • You don't have to create UI manually - the automatic UI builder does it for you based on the data contract
    • SysOperation framework has new features, such as several asynchronous execution modes with callbacks.
  • CU10121822-0 Profile Picture
    340 on at
    Thanks Martin,
     
    Here in Runbasebatch, Pack and Unpack we needs to create our own. But in SOF, it's handled automatically.
     
    Here framework configuration means, recurrence setting?
     
    And one more things I guess, SOF support MVC architecture, so Contract , Controller and Service class.
     
    Kindhy verify please. thanks!
  • Martin Dráb Profile Picture
    239,809 Most Valuable Professional on at
    I mean things that you know do in the controller, such as canGoBatch().
    I already covered MVC in my first point (without explicitly naming the pattern).
  • CU10121822-0 Profile Picture
    340 on at
    Thanks Martin,
     
    In Runbasebatch, cangobatch method determined the job can executed in batch. I saw this method.
    But I never seen this method in SOF. Is it running behind in controller class?
     
    Kindly elaborate pls. 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

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

#2
André Arnaud de Calavon Profile Picture

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

#3
Subra Profile Picture

Subra 412

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans