I've used a utility activity where I am planning to generate the zip file for the given product name and version. I've tried using the OOTB "ExportRAP" activity which in turn calls the "CreateZIPFile" activity. I see that the actual export of RAP is happening via "pega.getRuleMgmtUtils().createExport(exportFileFullPath, objLogPage, compatibility,list)". When I tried passing my own path (outside the temp directory) to the above function, the zip file itself isn't generating.
Appreciate your inputs or any alternative approaches.