Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

sysOperationFramework Synchronous

Posted on by 1,548

Hi,

What's the difference between writing code directly in a method

Or write it in the method but by calling  sysOperationframework service class with Synchronus execution mode.

  • Suggested answer
    Waed Ayyad Profile Picture
    Waed Ayyad 6,347 Super User 2024 Season 2 on at
    sysOperationFramework Synchronous
    Hi 
     
    sysOperationframework  framework has many uses one of it is to run it as batch and this what you can't do with direct class without sysOperationframework 
     
     
     
    Regards,
    Waed
  • junior AX Profile Picture
    junior AX 1,548 on at
    sysOperationFramework Synchronous
    Hi Martin,

    yes it does. There is an issue when verifying answers that makes it stuck at loading

  • Martin Dráb Profile Picture
    Martin Dráb 230,235 Most Valuable Professional on at
    sysOperationFramework Synchronous
    Did it answer your question?
  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,235 Most Valuable Professional on at
    RE: sysOperationFramework Synchronous

    You may want to use SysOperation framework because you want to use another feature of the framework, such as having a dialog for data input generated for you from a contract class.

    You also may want the ability to use one of the other three execution modes later.

  • Suggested answer
    Anton Venter Profile Picture
    Anton Venter 18,783 Super User 2024 Season 2 on at
    RE: sysOperationFramework Synchronous

    There is no difference but one advantage is that the SysOperation framework allows you to run your code in batch which is "asynchronous".

    SysOperation Framework Overview
    https://learn.microsoft.com/en-us/dynamicsax-2012/developer/sysoperation-framework-overview

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans