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.
var nodeId = document.id; var url = encodeURIComponent(document.nodeRef); //nodeId = "ee9e3698-f6f7-438f-8f58-1015e37c7fc9"; var theDocument = search.findNode("workspace://SpacesStore/" + nodeId); //logger.log(theDocument); var cats = theDocument.properties["cm:categories"]; var summary = theDocument.properties["cm:summary"]; theDocument.properties["cm:summary"] = "Approved"; //var summary = theDocument.properties["cm:summary"]; theDocument.save();
var status = this.workflow.isActive ? this.msg("label.workflowIsInProgress") : this.msg("label.workflowIsComplete"); Dom.get(this.id + "-statusSummary").innerHTML = $html(status); Dom.get(this.id + "-status").innerHTML = $html(status); if(status == "Workflow is Complete") { ///script goes here}
Hi,In share All javascript files gets minified to *-min.js. there is workflow-form-min.js, are you doing the changes in this file?Thanks,Vandana