Notifications
Announcements
No record found.
Hi All,
we have a batch job which is executing as ended but the action is not happening, but when run the same class by debugging it is executing as expected , but the same class is not giving the expected result when executing in batch job and not throwing any errors in batch job history.
Please advise us how we can resolve this strange issue.
Regards,
Akbar
Hi Akbarpasha,
If your batch class has query try to print the query in the info log and you can see the info log results in the following path.
System administration > Inquiries > Batch jobs(Select your batch job) > Batch job history. > On the action pane you have info log where you can see the messages.
Thanks,
Girish S.
Hi Akbar,
Can you tell what exactly this batch job should do? When working with files, the file might not be found. If you can explain more, we can try to help you.
While debugging, are you running the batch job in batch or not? I mean what is the process that you are attaching in order to debug?
What is the functionality in this batch job and what are the parameters, if any, for the batch job? A little more detail would help.
-MON
Hi Andre and MON,
Class is fetching the API and updating/inserting the D365FO tables,
while running the class in Batch job , all the records are not fetching from API urls, Batch job is fetching few records not all.
but when run the same class alone without Batch job , the remaining records are getting fetched.
Do we need to create the Batch job again or anything we can refresh ?
Please advise.
Hi GirishS,
No queries in the class, class - using the APIs fetching the records and inserting/updating the F&O tables. there is no parameter setup.
using Batch job, all the records are not getting fetched, but when we run the same class without batch job , the remaining records are getting fetched.
I would have said that your process can only be executed without batch job but you mentioned that in batch it does fetch a few records. Can you share some code snippet or more details? Is there any contract class attached? Are the parameters, if being used, are being packed and unpacked properly? What data do you send for the API call?
Did you solve your issue already? Do you still need help from the community? Please provide an update.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 449 Super User 2025 Season 2
Martin Dráb 422 Most Valuable Professional
BillurSamdancioglu 239 Most Valuable Professional