Hello,
an error occurs when calling the method Document.moveContent(StorageArea):
com.filenet.api.exception.EngineRuntimeException: FNRCA0024E: API_PROPERTY_NOT_IN_CACHE: The Id property was not found in the properties collection.
My Java code in SweepAction:
document = (Document) sweepItem.getTarget();
document = Factory.Document.fetchInstance(objectStore, document.get_Id(), null);
StorageArea sa = Factory.StorageArea.getInstance(objectStore, new Id("{C6237952-580C-4953-AE02-D3F7D5A1287D}"));
if (sa != null) {
document.moveContent(sa);
document.save(RefreshMode.REFRESH);
}
#FileNet#Support#SupportMigration