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

How to trigger and monitor batch jobs externally?

(0) ShareShare
ReportReport
Posted on by

Dear AX community,

I have a requirement of triggering and monitoring axapta 2012 jobs from an external system.

What would be the best way of achieving this?

Thank you

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    A batch job is a task that is scheduled and executed by AX batch engine. Do you want to schedule AX batch tasks from another system? Or just run AX functions from another system?

    If you want to schedule and monitor the actual batch jobs remotely, you need to develop a web service that lets you schedule a batch job. Then another service to fetch batch job history data.

    Does this help you?

  • Community Member Profile Picture
    on at

    Hi Nikolaos,

    Thanks for the reply, I would need to schedule AX batch tasks from another system.

    Do you have examples of webservices that got already developed?

    Thank you

  • Suggested answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    Here's an article on how to develop a custom service: https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/using-custom-services

    Basically you can expose any x++ method as a service endpoint by adding an attribute in the method definition.

    Then, you need to develop x++ code that schedules a batch job. I guess that should be fairly easy. I recommend you setup the batch job and its parameters manually, and then just set a new schedule for the job via your service. The schedule should always be "1 time execution" (not recurring) if you want to control each execution via your service. 

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 649

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 242 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans