Removing Stale Items

SAP Commerce allows you to remove stale output items that have been created in a successful Distributed ImpEx process.

You can configure SAP Commerce for programmatically run import to remove stale output items of the ImpexImportCronJob, DistributedImportProcess, ImportBatch, ImportBatchContent type that have been created during successful synchronous Distributed ImpEx processes. For more information, see Executing Import Programmatically.

You can also use the following property if you haven't configured the removeOnSuccessForDistributedImpex property of the ImportConfig object. When you enable this property, stale items created during import, for example in Administration Console and Backoffice, are also removed.

impex.import.service.distributed.synchronous.removeonsuccess.enabled=true

This property is disabled by default.

Use the following property for ImportBatchContent items that have been created during a successful synchronous or asynchronous Distributed ImpEx process:

impex.distributed.importbatchcontent.removeonsuccess=true

This property is enabled by default. This property ensures that stale ImportBatchContent items created during import, for example in Administration Console or Backoffice, are also removed.