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 tag = "sigima"; var taggedNodes =companyhome.childrenByTags(tag);
var luceneTagQuery = "PATH:"/cm:companyhome/cm:taggable/cm:sigima/member""; var nodes = search.luceneSearch(luceneTagQuery);
TAG:"tagname"
<serviceTask id="alfrescoScripttask1" name="fornisce elenco aziende" activiti:class="org.alfresco.repo.workflow.activiti.script.AlfrescoScriptDelegate"> <extensionElements> <activiti:field name="script"> <activiti:string> var tag = "collaborazione"; var taggedNodes =companyhome.childrenByTags(tag); execution.setVariable('wf_taggedNodesNames',execution.getVariable('taggedNodes')); </activiti:string> </activiti:field> </extensionElements> </serviceTask>
execution.setVariable('wf_taggedNodesNames',task.getVariable('taggedNodes'));
<aspect name="wf:aziendeScelte"> <properties> <property name="wf:taggedNodesNames"> <type>d:text</type> <multiple>true</multiple> </property> </properties> </aspect>