06-19-2013 02:06 PM
<serviceTask id="alfrescoScripttask1" name="Alfresco Script Task" activiti:class="org.alfresco.repo.workflow.activiti.script.AlfrescoScriptDelegate">
      <extensionElements>
        <activiti:executionListener event="start" class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener">
          <activiti:field name="runAs">
            <activiti:string>admin</activiti:string>
          </activiti:field>
          <activiti:field name="script">
            <activiti:string>var dest = scwf_publicationSpace;
bpm_package.children[0].move(dest);</activiti:string>
          </activiti:field>
        </activiti:executionListener>
      </extensionElements>
    </serviceTask>
<type name="scwf:submitHelloWorldTask">
         <parent>bpm:startTask</parent>
         <properties>
            <property name="scwf:helloName">
               <type>d:text</type>
               <mandatory>true</mandatory>
               <multiple>false</multiple>
            </property>
         </properties>
         <mandatory-aspects>
               
                        <aspect>scwf:Verificateur</aspect>
                        <aspect>scwf:Approbateur</aspect>
                        <aspect>scwf:publicationSpace</aspect>
                </mandatory-aspects>
      </type>
<aspects>
 <aspect name="scwf:publicationSpace">
          <associations>
              <association name="scwf:publicationSpace">
                  <title>Lien d'archivage</title>
                  <source>
                      <mandatory>false</mandatory>
                      <many>false</many>
                  </source>
                  <target>
                      <class>cm:folder</class>
                      <mandatory>true</mandatory>
                      <many>false</many>
                  </target>
              </association>
          </associations>
      </aspect>
        
   </aspects>
11-26-2013 02:28 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.