Content Management and Capture

 View Only

Recovery Item pending action

  • 1.  Recovery Item pending action

    Posted 2 hours ago

    Good morning,

    I'm currently working on a data script that iterates through a specific recovery bin to find a specified item and use .recover() to return it back to the DocVersion table. When doing my initial testing on this, it appears that the .recover() function out of the box just adds the recovery process as a pending action and I am unsure how to make that complete processing. For most pending actions, just using ".save(RefreshMode.REFRESH)" on the item is enough to get the server to process it but I've tried saving/refreshing the CmRecoveryItemImpl, the object store, and even the recovery bin but the item is still not searchable in Content Navigator or in the DocVersion table. Here is a code snippet of the logic I am using:

    I would greatly appreciate any advice/input that you may be able to offer and thank you for reading my post.

    Thanks,

    Chris



    ------------------------------
    Christopher Hegel
    ------------------------------