Reuse pyPegaPurger Job scheduler for customized archival entries
At our place, the data is scattered at different systems. Need to inform the other systems about the archived/purged records in PEGA application. And the purged/archived selection has different set of filter conditions. So, the OOTB purge/archive may not fit for our scenario.
The question is, is there way the pyPegaPurger job scheduler or its activity pzPerformPurge can be reused to purge records from a customized Purge approach?
How this Job scheduler invokes and purges the records?
pega.performPurge(); - How does this piece of java code picks a record and deletes the related records? Can we run this code on customized selected archived records?