function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mhamberg1mhamberg1 

Dataloader with dynamic dates

We are currently using the dataloader to automate a retention policy on records. For example, we go through every day and delete all records that are older than two years for a certain custom object.

Right now we are on Dataloader v7 which is about 4 years old and we'd like to do an upgrade to the newest Dataloader (v17).

With the new 'bean' format of process-conf.xml, how can we execute a delete query passing in a dynamic date?

It only works today because the old dataloader version used separate config.properties files for every job so we could just generate a file.
mhamberg1mhamberg1

Any help on this?  Surely other people are automating record retention...

 

How do you insert dynamic dates into your process-conf.xml file? Or is there another way? Can the new dataloader handle legacy-style config files?