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.
…. //Guardamos el fichero upload.save() //Buscamos el fichero var nodoSubmit = avm.lookupNode(storeid + ":" + fullpath + "/" + upload.name); var workflow = actions.create("start-workflow"); workflow.parameters.workflowName = "jbpm$292"; workflow.parameters["bpm:workflowDescription"] = upload.properties.name; workflow.execute(nodoSubmit);
logger.log("Starting our script"); var usersandboxes = webprojects.getWebProject("MiWebProject").getSandboxes("admin"); usersandboxes[0].submit( ["/www/avm_webapps/ROOT/OurTest"], "Label", "Comment");