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

  • Suggested answer
    Martin Dráb Profile Picture
    241,641 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 284 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 213

#3
Subra Profile Picture

Subra 200 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans