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

Test a Service class with a runnable job

(0) ShareShare
ReportReport
Posted on by 10

Hello all,

I have a service class which does the creation of some records.

I want to test this service on my environment with a runnable job. How can i call this service on a runnable job?

Regards

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    238,745 Most Valuable Professional on at

    I assume you mean that you have a class with methods exposed through a custom service. The service class is still a regular X++ class and can be called in the same way as any other class.

  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at

    A service class is also same as a normal class. So which ever method you call from postman or 3rd party, you can just create the object of the class and call that method in your runnable job.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 402

#3
Diego Mancassola Profile Picture

Diego Mancassola 261

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans