Call external web service process before destroy the document in RPS dispotion job
Hi, RPS Experts:
I am looking for a solution in the RPS disposition (run the disposition job) so that an external process (through web service call) can be launched to clean data in another database related to the document to be disposed. If the external process failed (returned by the web service call), then the document will be hold and an alert email should be sent to administrator.
I am working on a TBO to override the doDestroy() method but not sure if that is the right way to complete the requiremet.
Also, what I can think of is to customize the dmc_rps_TerminalDispositionJob job method by decompile the code. I am wondering any other RPS practitioners have done this way.
Your help is appreciated.
Best Answer
Answers
-
Johnny, thank you for quick response suggestion. We do not have workflow configured for the disposition. All are simple with a strategy "Destroy all" as out of box. The system jobs dmc_rps_QualificationJob, dmc_rps_PromotionJob, and dmc_rps_DispositionJob are activated and automatically delete the documents when the objects' retention active phase duration periods are due (final phase duration is set to 0 days. The jobs works fine in destroying the files as expected.
I saw some discussion in this community mentioned to customize the retainer's lifecycles out of box. But they seemed encounter a lot difficulties and i am not sure if they finally succeeded.
0 -
Johnny, thank you for your suggestion. I did experienced the weird aspects with TBO when I was overriding the "doSave" method to automatizing attaching the rps policy to the customized object type. Hope the destroy behaviour would be easier. Will update to the ticket when I have a workable solution.
0 -
Apologies for unrelated question but can the dmc_rps_PromotionJob and dmc_rps_DispositionJob be made to run for specific RPS policies instead of running it for the entire system?
0
Categories
- All Categories
- 122 Developer Announcements
- 53 Articles
- 150 General Questions
- 147 Thrust Services
- 56 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 917 Cloud Fax and Notifications
- 84 Digital Asset Management
- 9.4K Documentum
- 31 eDOCS
- 184 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 7 XM Fax
- Follow Categories