javascript code inside an activiti workflow
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2014 08:33 AM
Hi everybody,
i need to add a javascript code (in particulary javascript API) in my activiti wf. This code must implement a tag-search in Alfresco repository.
How can i do??
i need to add a javascript code (in particulary javascript API) in my activiti wf. This code must implement a tag-search in Alfresco repository.
<serviceTask id="alfrescoScripttask1" name="fornisce elenco aziende" activiti:class="org.alfresco.repo.workflow.activiti.script.AlfrescoScriptDelegate"> <extensionElements> <activiti:field name="script"> <activiti:string> ????? </activiti:string> </activiti:field> </extensionElements> </serviceTask>
How can i do??
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2014 12:43 PM
search for all nodes with the given tag applied
var store = "workspace://SpacesStore";var tag = "yourtag";var taggedNodes = search.tagSearch(store, tag);for (var i=0; i < taggedNodes.length; i++){ taggedNodes *****}
