10-09-2012 06:06 AM
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();10-09-2012 07:33 AM
10-09-2012 08:01 AM
10-09-2012 10:04 AM
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
}
10-11-2012 08:43 AM
10-11-2012 11:53 PM
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
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.