Hello All,
I am trying to use Microsoft new feature "Job history cleanup" to delete data from staging tables but even after running the job several times, system didnt delete all the records from staging tables. Initially I ran the job for 2 hours, then increased it to 4 hours but it didnt work. The "Job history cleanup" batch job completed its processing in 3hours and 25minutes.
I ran it with 7 days for "Number of days to retain history" but system is still showing old data.
Any thoughts?



--Before 2364883 After: 1869991
SELECT COUNT(*)?
FROM DMFSTAGINGVALIDATIONLOG?
?
--Before 3568 After: 3567?
SELECT COUNT(*)?
FROM DMFSTAGINGEXECUTIONERRORS?
?
--Before 1900815 After: 1869991?
SELECT COUNT(*)?
FROM DMFSTAGINGLOG?
?
--Before 8304 After: 2308?
SELECT COUNT(*)?
FROM HCMWORKERSTAGING?
?
--Before 29791 After 16492?
SELECT COUNT(*)?
FROM HCMPOSITIONSTAGING?
?
As per Microsoft docs, the following tables will be cleaned up by the clean-up process. But its not happening.
- All staging tables
- DMFSTAGINGVALIDATIONLOG
- DMFSTAGINGEXECUTIONERRORS
- DMFSTAGINGLOGDETAIL
- DMFSTAGINGLOG
- DMFDEFINITIONGROUPEXECUTIONHISTORY
- DMFEXECUTION
- DMFDEFINITIONGROUPEXECUTION
docs.microsoft.com/.../data-import-export-job