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 :
Microsoft Dynamics AX (Archived)

Disable Dialog UI for a SysOperationServiceController Batch Job Task

(0) ShareShare
ReportReport
Posted on by

Greetings fellow reader. 

As the title says, I have implemented a batch job task using SysOperationFramework where the executing code is in the class BatchProcessing and has a method processRecords. Furthermore, A class extending SysOperationServiceController was created that calls the BatchProcessing.processRecords() method when executed. 

The controller class is added to an action menu item, and then set on the object property of a menu item button on a form. The problem occurs when I click on the action menu item button. It opens a dialog form with parameters (whether recurrent, when to start, etc). I want to avoid it completely and let the code execute immediately (with batch processing dialog param set to checked true) without letting parameters be explicitly set on form by a user. How would I do this? 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    Please add this statement in your controller class

    dataController.parmShowDialog(false); // Use this statment

    dataController.startOperation(); // before startOperation

  • Community Member Profile Picture
    on at

    @Chaitanya How would I know what properties were assigned to my process? was it a CLR session or executed on the server? what name was set for the job? Can I edit it them through code some how?

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans