As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
ERROR [repo.action.ActionServiceImpl] An error was encountered whilst executing the action 'composite-action'. org.alfresco.service.cmr.repository.ScriptException: Failed to execute script 'workspace://SpacesStore/7b4086cf-efbb-11da-a650-b99 5eb94ad41': missing name after . operator (AlfrescoScript#14) at org.alfresco.repo.jscript.RhinoScriptService.executeScript(RhinoScriptService.java:145)
// DELETE DOES NOT WORK FOR THE CURRENT NODE // document.delete(); // remove all previous document var childList = space.children; for (var i=0; i<childList.length; i++) { var child = childList[i]; if (child.name.indexOf(".ToBeRemoved") > 0) { child.delete(); } } document.name = document.name + ".ToBeRemoved"; document.save();
var def = workflow.getDefinition(wf); var instances = def.getActiveInstances(); var instance,i; var retour=""; for (i in instances) { instance = instances[i]; retour = retour + "instance : " + instance.id + " démarré le " + instance.getStartDate() + " : " + instance.getDescription(); if (del == true) { // instance.delete(); retour = retour + " <b>supprimée</b>"; } retour = retour + "<br>"; } if ( retour == "") retour = "pas d'instances démarrées pour ce workflow " + wf; return (retour);
Failed to execute script 'workspace://SpacesStore/dd674fbd-9abd-44fb-a189-403ae4c4737d': il manque un nom après un opérateur '.' (workspace://SpacesStore/dd674fbd-9abd-44fb-a189-403ae4c4737d#16)caused by: org.mozilla.javascript.EvaluatorException: il manque un nom après un opérateur '.' (workspace://SpacesStore/dd674fbd-9abd-44fb-a189-403ae4c4737d#16)