How to delete a document from a batch?
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);