Oracle WebCenter Content (MOSC)

MOSC Banner

How to delete a document from a batch?

edited Mar 8, 2017 4:00AM in Oracle WebCenter Content (MOSC) 1 commentAnswered

Hi ,

I have a requirement where i have to delete the supporting documents which got separated on the basis of Patch Code II.

So for my Case these are the alternate documents which i have to delete once the separation is done.

I tried to achieve that at code level , but it seems deleteDocument is not working. As Documents are not getting deleted.

Can someone please guide?

load("nashorn:mozilla_compat.js");

var batchLockID;

var documentID;

var bm;

var ble;

function initialize (rpc){ // RecognitionProcessorContext

logger = rpc.getLogger();

}

function endBatchProcess(rpc) {

// Obtain batch manager

bm = rpc.getBatchManager();

logger.info("\n Value of BatchManager = "+bm);

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center