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 :
Finance | Project Operations, Human Resources, ...
Answered

Is it possible to put all batch jobs on hold using the BATCH ODATA API

(0) ShareShare
ReportReport
Posted on by 110
Hello Community, 
 
I was able to test the API call mentioned in the below article. However, it just mentions one service API Call, which can put a specific batch job to a waiting status.
 
 
I was able to see in the Power Automate that it has more Services like Hold ALL jobs, but it does not seem to work with the API nor does it work with the Power Automate tool.
 
Has anyone tried them? Any ideas?
 
Thanks, 
Ankit
I have the same question (0)
  • Martin Dráb Profile Picture
    237,880 Most Valuable Professional on at
    If you look at the data entity (BatchJobEntity) in F&O, you'll see that SetBatchJobToWaiting is the only OData action is offers (at least in 10.0.37). Where do you "Services like Hold ALL jobs"? On some other entity?
  • Verified answer
    AK2 Profile Picture
    110 on at
    Thank you Martin!
     
    I saw the service in Power Automate.
    I got the answer to my question while answering you :) 
    It seems part of a BatchGroup and not a Batch Job. I was able to send a request..
    {Url}/data/BatchGroups/Microsoft.Dynamics.DataEntities.HoldAllJobs

    Seems like we need to create Batch Groups for jobs that need to be paused.. still needs to be tested..

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 584 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 499 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 254 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans