03-01-2012 02:58 AM
   Alfresco.DocumentList.prototype.onActionStartWorkflows = function DL_onActionStartWorkflows(file)   {
       this.modules.actions.genericAction(
      {
         success:
         {
            message: this.msg("message.start-workflows.success", file.displayName)
         },
         failure:
         {
            message: this.msg("message.start-workflows.failure", file.displayName)
         },
         webscript:
         {
            name: "start-workflows/site/{site}/{container}",
            method: Alfresco.util.Ajax.POST
         },
    wait:
    {
       message: this.msg("message.start-workflows.please-wait")
    },
         params:
         {
            site: this.options.siteId,
            container: this.options.containerId
         },
         config:
         {
            requestContentType: Alfresco.util.Ajax.JSON,
            dataObj:
            {
               nodeRefs: [file.nodeRef]
            }
         }
      });
   };
Alfresco.util.PopupManager.displayMessage(
{
    text: "Starting workflow, please wait"
});
04-26-2012 05:11 PM
05-10-2012 02:26 AM
10-14-2015 02:55 AM
 
					
				
				
			
		
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.