Hello,
I have created a data export project that exports data entities to our customer's BYOD. The export is run in batch and since it runs frequently, by default it creates lot of records in the BatchJob table. I have changed the batch job setting to save only errors to history. Still, the batch job tasks/lines that the batch job executes get saved in the BatchJob table and i haven't been able to find the setting to prevent that. I had created the original batch job and it is currently set to run by a different user. Should that user change the "save to history" setting as well? Many thanks for any assistance.
Hi Piski,
Alerts will always be sent if the Save job to history option on the General tab is set to Always. If this option is set to Errors only, alerts will be sent only if the job was unsuccessful. If this option is set to Never, alerts will not be sent.
docs.microsoft.com/.../create-a-batch-job
This setting is just to control the alerts, batch task records will always be saved in the table.
You could create a "Custom batch job history clean-up".
docs.microsoft.com/.../batch-history-cleanup
Hi Will,
thank you for the answer. It seems that in our case, setting up a regular batch history cleanup will be needed to remove the batch task records.
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 Pallavi Phade 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... 756 Super User 2025 Season 2
CA Neeraj Kumar 678
Martin Dráb 526 Most Valuable Professional