05-19-2014 04:23 AM
05-20-2014 01:04 PM
if(!doc.isVersioned)
{
doc.addAspect("cm:versionable");
}
// check it out and update the working copy
var workingCopy = doc.checkout();
workingCopy.content = update working copy content";
workingCopy.properties['cm:description'] = "EN COURS DE REVISION";
// check it in
doc = workingCopy.checkin();
05-21-2014 05:26 AM
var files = [];
for(var j=0; j<bpm_package.children.length; j++){
bpm_package.children[j].properties['cm:description'] = "DRAFT!";
files[j] = bpm_package.children[j];
bpm_package.children[j].remove();
bpm_package.addNode(files[j]);
}
org.activiti.engine.ActivitiException: Exception while invoking TaskListener: Exception while invoking TaskListener: 04210074 Failed to execute supplied script: 04210073 Access refusé. Vous n'avez pas la permission de réaliser cette opération.
05-21-2014 07:42 AM
for(var j=0; j<bpm_package.children.length; j++){
var doc = bpm_package.children[j];
doc.revert();
}
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.