On file start-workflow.js we introduce and use the method getUserWorkflowDefinitions().
Such method could be placed into a more generic place, such as a file in classpath:alfresco/site-webscripts/co/uk/rrd/alfresco/workflow/workflow.lib.js
As a consequence start-workflow.get.js would have to import the new JS library file:
Hereby is the list of files in Alfresco Share that use the method getWorkflowDefinitions() and that may need to be restricted only for user-specific workflows:
On file start-workflow.js we introduce and use the method
getUserWorkflowDefinitions()
.Such method could be placed into a more generic place, such as a file in
classpath:alfresco/site-webscripts/co/uk/rrd/alfresco/workflow/workflow.lib.js
As a consequence
start-workflow.get.js
would have to import the new JS library file:Hereby is the list of files in Alfresco Share that use the method getWorkflowDefinitions() and that may need to be restricted only for user-specific workflows: